From: Ian Romanick <ian.d.roman...@intel.com>

These were added in 28ca3c1, and they were a good idea in 2010.  I think
it's safe to count on glext.h with the proper functions today.

Signed-off-by: Ian Romanick <ian.d.roman...@intel.com>
Cc: Brian Paul <bri...@vmware.com>
---
 tests/general/primitive-restart.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/general/primitive-restart.c 
b/tests/general/primitive-restart.c
index f6d705e..1bd8d27 100644
--- a/tests/general/primitive-restart.c
+++ b/tests/general/primitive-restart.c
@@ -190,10 +190,8 @@ static void
 enable_restart(GLuint restart_index)
 {
    if (TestGL31) {
-#ifdef GL_VERSION_3_1
       glEnable(GL_PRIMITIVE_RESTART);
       glPrimitiveRestartIndex(restart_index);
-#endif
    }
    else {
       glEnableClientState(GL_PRIMITIVE_RESTART_NV);
@@ -206,9 +204,7 @@ static void
 disable_restart(void)
 {
    if (TestGL31) {
-#ifdef GL_VERSION_3_1
       glDisable(GL_PRIMITIVE_RESTART);
-#endif
    }
    else {
       glDisableClientState(GL_PRIMITIVE_RESTART_NV);
-- 
2.5.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to