Commit 27853950 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: glXSwapBuffers needs a GLX context.

parent dac86768
......@@ -153,7 +153,7 @@ static HRESULT WINAPI IWineD3DSwapChainImpl_Present(IWineD3DSwapChain *iface, CO
ENTER_GL();
/* Does glXSwapBuffers need a glx context? I don't think so. Blt will activate its own context if needed */
ActivateContext(This->wineD3DDevice, This->wineD3DDevice->lastActiveRenderTarget, CTXUSAGE_RESOURCELOAD);
/* Render the cursor onto the back buffer, using our nifty directdraw blitting code :-) */
if(This->wineD3DDevice->bCursorVisible && This->wineD3DDevice->cursorTexture) {
......
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