wined3d: Fix a hdc check in InitAdapters.

This commit is contained in:
Roderick Colenbrander 2007-08-29 01:07:26 +02:00 committed by Alexandre Julliard
parent 926a008ffb
commit 8a7332f60f
1 changed files with 1 additions and 1 deletions

View File

@ -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();