wined3d: glXSwapBuffers needs a GLX context.

This commit is contained in:
H. Verbeet 2007-07-19 00:20:15 +02:00 committed by Alexandre Julliard
parent dac8676895
commit 2785395080
1 changed files with 1 additions and 1 deletions

View File

@ -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) {