diff options
author | Vinson Lee <vlee@vmware.com> | 2010-06-30 18:07:51 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-06-30 18:07:51 -0700 |
commit | 9892a7d09a1c305843021a82bbcb3d85629865c9 (patch) | |
tree | 6f45f821a4874bf15df5f265c987f3cb8103d0a1 /tests/general | |
parent | de1bd42df83593593862ca353f6d7fe2648a542c (diff) |
stencil-wrap: Remove extra glEnd.
This was missed in commit 091604f5c24a00053d4301d6780ac0631dee8433.
Fixes GL_INVALID_OPERATION error on Mac OS X.
Diffstat (limited to 'tests/general')
-rw-r--r-- | tests/general/stencil-wrap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/general/stencil-wrap.c b/tests/general/stencil-wrap.c index 620056f1..6f918856 100644 --- a/tests/general/stencil-wrap.c +++ b/tests/general/stencil-wrap.c @@ -83,7 +83,6 @@ piglit_display(void) for (i = 0 ; i < (max_stencil + 5) ; i++) { piglit_draw_rect(w * 3, start_y, w, h); } - glEnd(); glStencilFunc(GL_EQUAL, max_stencil, ~0); glColor3f(0.5, 0.5, 0.5); |