summaryrefslogtreecommitdiffstats
path: root/src/glsl/loop_controls.cpp
diff options
context:
space:
mode:
authorHenri Verbeet <[email protected]>2011-01-17 22:03:30 +0100
committerMarek Olšák <[email protected]>2011-04-08 04:45:03 +0200
commit79db70bd8aa04e19a4e1b9ee98eb568d90bb6d62 (patch)
tree437600d27bb7af70171e0bce1451c9e250f0a3c5 /src/glsl/loop_controls.cpp
parent2ecb73379e4d88873cbe1cafdd056f7f687ea743 (diff)
st/mesa: Clamp min_lod to the max miplevel as well.
Otherwise min_lod can potentially be larger than the clamped max_lod. The code that follows will swap min_lod and max_lod in that case, resulting in a max_lod larger than MAX_LEVEL. Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/loop_controls.cpp')
0 files changed, 0 insertions, 0 deletions