mirror of
https://github.com/reactos/wine.git
synced 2025-02-08 21:27:31 +00:00
wined3d: Add a WARN to IWineD3DDeviceImpl_SetFrontBackBuffers() about potentially being called without a GL context.
This commit is contained in:
parent
7d3beb6b79
commit
4075e45d81
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user