wined3d: Refuse 3D initialization without opengl.
This commit is contained in:
parent
8673be0bd7
commit
a29a229324
|
@ -2010,6 +2010,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface, WINED3DPR
|
|||
|
||||
TRACE("(%p)->(%p,%p)\n", This, pPresentationParameters, D3DCB_CreateAdditionalSwapChain);
|
||||
if(This->d3d_initialized) return WINED3DERR_INVALIDCALL;
|
||||
if(!This->adapter->opengl) return WINED3DERR_INVALIDCALL;
|
||||
|
||||
/* TODO: Test if OpenGL is compiled in and loaded */
|
||||
|
||||
|
|
Loading…
Reference in New Issue