summaryrefslogtreecommitdiff
path: root/progs/tests/texobj.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-28 09:28:50 -0600
committerBrian Paul <brianp@vmware.com>2009-09-28 09:35:08 -0600
commite3a6f57ad6c0e7bda5d45eb146194ed39f45abdd (patch)
treed5d94d330a6e45c0c0bb83e8e0045545eba2c00b /progs/tests/texobj.c
parent41d0606b7f4666c31db31bec3c54934ef6cd16e7 (diff)
st/mesa: fix/simplify st_texture_object::lastLevel calculation
Don't compute the st_texture_object::lastLevel field based on the texture filters. Use the _MaxLevel value that core Mesa computes for us. When called from the GenerateMipmap path, we'll use the lastLevel field as-is.
Diffstat (limited to 'progs/tests/texobj.c')
0 files changed, 0 insertions, 0 deletions