diff options
author | Eric Anholt <[email protected]> | 2011-04-15 19:55:38 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-04-18 11:19:54 -0700 |
commit | 2b624634dda23d3b94045fb07aea558df39b48ff (patch) | |
tree | bee3e9d733ab00b407e6f709cf6315bb1e4512b9 /include | |
parent | f0471d904cf5c03ecf2528268a116e4f147cd3c1 (diff) |
swrast: Don't try to adjust_colors for <8bpc when handling R16, RG1616.
The GL_RED and GL_RG were tricking this code into executing, but it's
totally unprepared for a 16-bit channel and just rescaled the values
down to 0. We don't have anything with <8bit channels alongside >8bit
channels, so disabling it should be safe.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions