Commit ab000444 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

winex11.drv: Fix wined3d/opengl regression.

parent 9796aade
......@@ -299,7 +299,10 @@ BOOL X11DRV_WineGL_InitOpenglInfo()
wine_tsx11_unlock();
if(vis) XFree(vis);
if(ctx) pglXDestroyContext(gdi_display, ctx);
if(ctx) {
pglXMakeCurrent(gdi_display, None, NULL);
pglXDestroyContext(gdi_display, ctx);
}
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment