[PATCH 5/5] wined3d: Add a WARN to IWineD3DDeviceImpl_SetFrontBackBuffers() about potentially being called without a GL context.
hverbeet at codeweavers.com
Mon Jun 29 03:11:26 CDT 2009
dlls/wined3d/device.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 2200e31..64674c1 100644
@@ -6351,6 +6351,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetFrontBackBuffers(IWineD3DDevice *ifa
/* What to do about the context here in the case of multithreading? Not sure.
* This function is called by IDirect3D7::CreateDevice so in theory its initialization code
+ WARN("No active context?\n");
/* GL was told to draw to the front buffer at creation,
More information about the wine-patches