Commit 71ca8035 authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

wined3d: move ENTER_GL in IWineD3DDeviceImpl_Init3D.

parent b949190d
......@@ -2121,11 +2121,13 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface, WINED3DPR
}
/* Set up some starting GL setup */
ENTER_GL();
/* Setup all the devices defaults */
IWineD3DStateBlock_InitStartupStateBlock((IWineD3DStateBlock *)This->stateBlock);
create_dummy_textures(This);
ENTER_GL();
#if 0
IWineD3DImpl_CheckGraphicsMemory();
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment