summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/histogram.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-03 17:10:31 -0600
committerBrian Paul <[email protected]>2009-04-03 17:10:31 -0600
commit35d88e1ac2cd34d5cc62f521654d79f5b24fcdf8 (patch)
treeca61c928bdd4958d09c7510218471e320014f46e /src/mesa/main/histogram.c
parentb7cb6650c1603cd9e6f26b32f5e0fae8377d59b8 (diff)
mesa: clamp colors to [0,1] for glGetTexImage() when format is GL_LUMINANCE
For luminance, we add R+G+B and it seems we should always clamp in case.
Diffstat (limited to 'src/mesa/main/histogram.c')
0 files changed, 0 insertions, 0 deletions