summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-07-18 15:08:17 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-07-18 15:15:30 +0100
commit5f04172c12bccce60adb84329df44209581adabc (patch)
tree8d323fb28ebcc801709fb42dcfd94d15c40eec8e /hw
parente91279aa5f5d7877cd5f0841784d9c33e20d9d87 (diff)
Remove incorrect assertion in glxWinDrawableSwapBufferscygwin-patches-for-1.15
The piglit test glx_make_current triggers this assertion, by making the context current on a different drawable before issuing a glXSwapBuffers()
Diffstat (limited to 'hw')
-rw-r--r--hw/xwin/glx/indirect.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/xwin/glx/indirect.c b/hw/xwin/glx/indirect.c
index 6ad3f119f..3780ba55c 100644
--- a/hw/xwin/glx/indirect.c
+++ b/hw/xwin/glx/indirect.c
@@ -905,13 +905,6 @@ glxWinDrawableSwapBuffers(ClientPtr client, __GLXdrawable * base)
("glxWinSwapBuffers on drawable %p, last context %p (native ctx %p)",
base, draw->drawContext, draw->drawContext->ctx);
- /*
- draw->drawContext->base.drawPriv will not be set if the context is not current anymore,
- but if it is, it should point to this drawable....
- */
- assert((draw->drawContext->base.drawPriv == NULL) ||
- (draw->drawContext->base.drawPriv == base));
-
dc = glxWinMakeDC(draw->drawContext, draw, &dc, &hwnd);
if (dc == NULL)
return GL_FALSE;