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:
Henri Verbeet 2009-03-12 09:53:14 +01:00 committed by Alexandre Julliard
parent e4ea7976a5
commit 81075d2db3
1 changed files with 0 additions and 1 deletions

View File

@ -4236,7 +4236,6 @@ BOOL InitAdapters(IWineD3DImpl *This)
/* No need to hold any lock. The calling library makes sure only one thread calls
* wined3d simultaneously
*/
if (This->adapter_count) return This->adapters[0].opengl;
TRACE("Initializing adapters\n");