diff options
author | Anuj Phogat <[email protected]> | 2014-03-18 17:01:19 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-04-16 18:37:06 -0700 |
commit | cb6566f9df61bfc84c27b382ba3e494bbac782d9 (patch) | |
tree | 83b2a75b4a37deb9a949f09ad7c76fd62ad88711 /src/glsl/lower_packing_builtins.cpp | |
parent | 313566825405c33f26a0471a997ec4c79fae6b08 (diff) |
mesa: Add error condition for integer formats in glGetTexImage()
OpenGL 4.0 spec, page 306 suggests an INVALID_OPERATION in glGetTexImage
if :
"format is one of the integer formats in table 3.3 and the internal
format of the texture image is not integer, or format is not one of
the integer formats in table 3.3 and the internal format is integer."
V2: Use helper function _mesa_is_format_integer()
Cc: <[email protected]>
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/lower_packing_builtins.cpp')
0 files changed, 0 insertions, 0 deletions