wined3d: Remove a redundant check.
Henri Verbeet
hverbeet at codeweavers.com
Thu Mar 12 03:53:14 CDT 2009
This is redundant now, InitAdapters() will only be called once for each
IWineD3DImpl object, as pointed out by Allan Tong.
---
dlls/wined3d/directx.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 155d704..55b2b7e 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -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");
--
1.6.0.6
--------------050507050209020704050508--
More information about the wine-patches
mailing list