summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-05-15 14:58:14 -0700
committerIan Romanick <ian.d.romanick@intel.com>2015-09-16 10:29:13 -0400
commit14b8a1f2e2cb790ce9ef57462286500bbf7d75c0 (patch)
treece0f6b44dd5eab7a645669ec6477ed660ddcf7f6 /tests
parent157d24dc3a0e15a49f844eded1e5a8ca05c82c1e (diff)
arb_direct_state_access: Port dsa-textures to core profile
The "supports_gl_compat_version = 13" was rubbish anyway because DSA requires OpenGL 2.0. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/arb_direct_state_access/dsa-textures.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/spec/arb_direct_state_access/dsa-textures.c b/tests/spec/arb_direct_state_access/dsa-textures.c
index 29661c0a5..401c29f04 100644
--- a/tests/spec/arb_direct_state_access/dsa-textures.c
+++ b/tests/spec/arb_direct_state_access/dsa-textures.c
@@ -33,7 +33,8 @@
PIGLIT_GL_TEST_CONFIG_BEGIN
- config.supports_gl_compat_version = 13;
+ config.supports_gl_core_version = 31;
+ config.supports_gl_compat_version = 20;
config.window_visual = PIGLIT_GL_VISUAL_RGBA |
PIGLIT_GL_VISUAL_DOUBLE;
@@ -83,7 +84,6 @@ piglit_display(void)
/* Draw the image */
dsa_texture_with_unit(prog, texunit);
- glEnable(GL_TEXTURE_2D);
glUseProgram(prog);
glBindTextureUnit(texunit, name);
pass = piglit_check_gl_error(GL_NO_ERROR) && pass;