diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-27 21:14:12 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-27 21:14:12 -0600 |
commit | ef089604a9cdcb4efa0850de393e04aa8d002fae (patch) | |
tree | 5235c7396822d3097c51b2dcbdf31341fae6ab42 /src/mesa/state_tracker/st_atom_sampler.c | |
parent | 4fc344790d0fefa3c38c63cadc4ee6a52633b006 (diff) |
mesa: use texture format functions
Diffstat (limited to 'src/mesa/state_tracker/st_atom_sampler.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_sampler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_sampler.c b/src/mesa/state_tracker/st_atom_sampler.c index 50ce82811c..6611956ae8 100644 --- a/src/mesa/state_tracker/st_atom_sampler.c +++ b/src/mesa/state_tracker/st_atom_sampler.c @@ -209,7 +209,7 @@ update_samplers(struct st_context *st) } xlate_border_color(texobj->BorderColor, - teximg ? teximg->TexFormat->BaseFormat : GL_RGBA, + teximg ? teximg->_BaseFormat : GL_RGBA, sampler->border_color); sampler->max_anisotropy = texobj->MaxAnisotropy; |