[Piglit] [PATCH 18/25] arb_direct_state_access: Port dsa-textures to core profile
Ian Romanick
idr at freedesktop.org
Mon May 18 13:50:11 PDT 2015
From: Ian Romanick <ian.d.romanick at intel.com>
The "supports_gl_compat_version = 13" was rubbish anyway because DSA
requires OpenGL 2.0.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
tests/spec/arb_direct_state_access/dsa-textures.c | 4 ++--
1 file 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 29661c0..401c29f 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;
--
2.1.0
More information about the Piglit
mailing list