diff options
author | Laura Ekstrand <[email protected]> | 2015-02-25 15:45:47 -0800 |
---|---|---|
committer | Laura Ekstrand <[email protected]> | 2015-02-26 13:31:59 -0800 |
commit | ca65764d6042d2ea220a1e3952490f79c226f3e0 (patch) | |
tree | bffac7e76fe3d4f34d040b389f08f86760d64351 /docs/thanks.html | |
parent | 688d7656c58ea4775dbd55fe56193a27f4799c00 (diff) |
main: Fix target checking for CopyTexSubImage*D.
This fixes a dEQP test failure. In the test,
glCopyTexSubImage2D 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 separated from the main error-checking function and
called prior to _mesa_get_current_tex_object.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89312
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'docs/thanks.html')
0 files changed, 0 insertions, 0 deletions