wined3d: Fix a hdc check in InitAdapters.
This commit is contained in:
parent
926a008ffb
commit
8a7332f60f
|
@ -2541,7 +2541,7 @@ BOOL InitAdapters(void) {
|
|||
}
|
||||
|
||||
hdc = pwglGetCurrentDC();
|
||||
if(!ret) {
|
||||
if(!hdc) {
|
||||
ERR("Failed to get gl HDC\n");
|
||||
HeapFree(GetProcessHeap(), 0, Adapters);
|
||||
WineD3D_ReleaseFakeGLContext();
|
||||
|
|
Loading…
Reference in New Issue