http://bugs.winehq.org/show_bug.cgi?id=10234
--- Comment #14 from Alex Romosan romosan@sycorax.lbl.gov 2007-10-31 13:26:24 --- (In reply to comment #8)
The log seems to indicate it's setting a NULL context right before calling glFlush, which causes the crash (you can't make GL calls like that without a context set). I can't see anything in the log which would cause the program to do that, nor can I see why that commit would change it.
with this patch applied:
--- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -2053,7 +2053,8 @@ static void WINAPI X11DRV_wglFlush(void) sync_context(ctx); pglFlush(); wine_tsx11_unlock(); - ExtEscape(ctx->hdc, X11DRV_ESCAPE, sizeof(code), (LPSTR)&code, 0, NULL ); + if (ctx) + ExtEscape(ctx->hdc, X11DRV_ESCAPE, sizeof(code), (LPSTR)&code, 0, NULL ); }
tracked runs fine. you seem to believe the context should be set but in this case it's not.