summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_shader.c
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-02-25 15:45:47 -0800
committerLaura Ekstrand <[email protected]>2015-02-26 13:31:59 -0800
commitca65764d6042d2ea220a1e3952490f79c226f3e0 (patch)
treebffac7e76fe3d4f34d040b389f08f86760d64351 /src/gallium/drivers/svga/svga_shader.c
parent688d7656c58ea4775dbd55fe56193a27f4799c00 (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 'src/gallium/drivers/svga/svga_shader.c')
0 files changed, 0 insertions, 0 deletions