ERR("Error in setting current context (display %p context %p drawable %ld)!\n",This->display,This->context->glCtx,This->win);
}
checkGLcall("glXMakeCurrent");
...
...
@@ -301,7 +302,7 @@ static HRESULT WINAPI IWineD3DSwapChainImpl_Present(IWineD3DSwapChain *iface, CO
/* TODO: The slow way, save the data to memory, create a new context for the destination window, transfer the data cleanup, it may be a good idea to the move this swapchain over to the using the target winows context so that it runs faster in feature. */
glXSwapBuffers(This->display,This->drawable);/* TODO: cycle through the swapchain buffers */
glXSwapBuffers(This->display,This->context->drawable);/* TODO: cycle through the swapchain buffers */
TRACE("glXSwapBuffers called, Starting new frame\n");