diff options
author | Laura Ekstrand <[email protected]> | 2015-02-25 10:34:03 -0800 |
---|---|---|
committer | Laura Ekstrand <[email protected]> | 2015-02-26 14:24:11 -0800 |
commit | 549078cb5a95e0ee381d036b8c36bc41506f21bc (patch) | |
tree | 8817ee7dae6cd8f9bfe1c985ad362d4bae4f18e2 /bin | |
parent | ca65764d6042d2ea220a1e3952490f79c226f3e0 (diff) |
main: Fix target checking for CompressedTexSubImage*D.
This fixes a dEQP test failure. In the test,
glCompressedTexSubImage2D was called with target = 0 and failed to throw
INVALID ENUM. This failure was caused by _mesa_get_current_tex_object(ctx,
target) being called before the target checking. To remedy this, target
checking was made into its own function and called prior to
_mesa_get_current_tex_object.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89311
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions