diff options
author | Chris Forbes <[email protected]> | 2014-03-29 12:02:55 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-04-01 11:56:48 +1300 |
commit | ec4b8d16971b8860e14355f241ddcb2f82d5a5ee (patch) | |
tree | b504ace4f564a8cda5686306be6db41e1cd8f0a8 /src/mesa/state_tracker | |
parent | e3cdbdb14b54b8417088520dc3187477a4dd04ad (diff) |
mesa: Fix format matching checks for GL_INTENSITY* internalformats.
GL_INTENSITY has never been valid as a pixel format -- to get the memcpy
pack/unpack paths, the app needs to specify GL_RED as the pixel format
(or GL_RED_INTEGER for the integer formats).
Note: This was briefly merged before, but exposed some breakage in gallium, so
was reverted. Hopefully it will stick this time.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
0 files changed, 0 insertions, 0 deletions