Commit 8a7332f6 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

wined3d: Fix a hdc check in InitAdapters.

parent 926a008f
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment