Module: wine
Branch: master
Commit: 4075e45d8133f2ab8d4cf4dd4b9f6e15a1928691
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4075e45d8133f2ab8d4cf4dd4…
Author: Henri Verbeet <hverbeet(a)codeweavers.com>
Date: Mon Jun 29 10:11:26 2009 +0200
wined3d: Add a WARN to IWineD3DDeviceImpl_SetFrontBackBuffers() about potentially being called without a GL context.
---
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
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -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");
+
ENTER_GL();
if(!Swapchain->backBuffer[0]) {
/* GL was told to draw to the front buffer at creation,