wined3d: Remove a redundant check.
This is redundant now, InitAdapters() will only be called once for each IWineD3DImpl object, as pointed out by Allan Tong.
This commit is contained in:
parent
e4ea7976a5
commit
81075d2db3
|
@ -4236,7 +4236,6 @@ BOOL InitAdapters(IWineD3DImpl *This)
|
||||||
/* No need to hold any lock. The calling library makes sure only one thread calls
|
/* No need to hold any lock. The calling library makes sure only one thread calls
|
||||||
* wined3d simultaneously
|
* wined3d simultaneously
|
||||||
*/
|
*/
|
||||||
if (This->adapter_count) return This->adapters[0].opengl;
|
|
||||||
|
|
||||||
TRACE("Initializing adapters\n");
|
TRACE("Initializing adapters\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue