mirror of
https://github.com/reactos/wine.git
synced 2025-01-24 04:45:18 +00:00
wined3d: Initialize "context[0]" in IWineD3DDeviceImpl_CreateSwapChain() when not using OpenGL (Valgrind).
This commit is contained in:
parent
b74642ff0b
commit
8d351a1141
@ -1211,6 +1211,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateSwapChain(IWineD3DDevice *iface,
|
||||
object->win_handle, object->context[0]->glCtx);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
object->context[0] = NULL;
|
||||
}
|
||||
|
||||
/*********************
|
||||
* Create the back, front and stencil buffers
|
||||
|
Loading…
x
Reference in New Issue
Block a user