diff -Naur wine-broken/dlls/opengl32/wgl.c wine-oldworking/dlls/opengl32/wgl.c --- wine-broken/dlls/opengl32/wgl.c 2005-12-20 11:15:49.146865719 +0100 +++ wine-oldworking/dlls/opengl32/wgl.c 2005-12-20 11:15:10.976728664 +0100 @@ -129,11 +124,11 @@ } -/* retrieve the GLX drawable to use on a given DC */ +/* retrieve the X drawable to use on a given DC */ inline static Drawable get_drawable( HDC hdc ) { - GLXDrawable drawable; - enum x11drv_escape_codes escape = X11DRV_GET_GLX_DRAWABLE; + Drawable drawable; + enum x11drv_escape_codes escape = X11DRV_GET_DRAWABLE; if (!ExtEscape( hdc, X11DRV_ESCAPE, sizeof(escape), (LPCSTR)&escape, sizeof(drawable), (LPSTR)&drawable )) drawable = 0; @@ -546,8 +540,6 @@ } TRACE(" make current for dis %p, drawable %p, ctx %p\n", ctx->display, (void*) drawable, ctx->ctx); ret = glXMakeCurrent(ctx->display, drawable, ctx->ctx); - if(ret && type == OBJ_MEMDC) - glDrawBuffer(GL_FRONT_LEFT); } LEAVE_GL(); TRACE(" returning %s\n", (ret ? "True" : "False"));