-
-
Save max8rr8/9dd3a461787d3ddf0d5121a31f888a02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c | |
index 00b1c77e..20ee81c4 100644 | |
--- a/src/vrend_renderer.c | |
+++ b/src/vrend_renderer.c | |
@@ -5824,9 +5824,6 @@ int vrend_draw_vbo(struct vrend_context *ctx, | |
if (info->primitive_restart) { | |
if (vrend_state.use_gles) { | |
glEnable(GL_PRIMITIVE_RESTART_FIXED_INDEX); | |
- } else if (has_feature(feat_nv_prim_restart)) { | |
- glEnableClientState(GL_PRIMITIVE_RESTART_NV); | |
- glPrimitiveRestartIndexNV(info->restart_index); | |
} else if (has_feature(feat_gl_prim_restart)) { | |
glEnable(GL_PRIMITIVE_RESTART); | |
glPrimitiveRestartIndex(info->restart_index); | |
@@ -5943,8 +5940,6 @@ int vrend_draw_vbo(struct vrend_context *ctx, | |
if (info->primitive_restart) { | |
if (vrend_state.use_gles) { | |
glDisable(GL_PRIMITIVE_RESTART_FIXED_INDEX); | |
- } else if (has_feature(feat_nv_prim_restart)) { | |
- glDisableClientState(GL_PRIMITIVE_RESTART_NV); | |
} else if (has_feature(feat_gl_prim_restart)) { | |
glDisable(GL_PRIMITIVE_RESTART); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment