Fixed an infinite loop in IDirect3D::GetAdapterIdentifier()
authorGregor Brunmar <gbrunmar.ros@gmail.com>
Tue, 5 Feb 2008 06:37:48 +0000 (06:37 +0000)
committerGregor Brunmar <gbrunmar.ros@gmail.com>
Tue, 5 Feb 2008 06:37:48 +0000 (06:37 +0000)
svn path=/trunk/; revision=32133

reactos/dll/directx/d3d9/adapter.c

index 773b286..74bcc99 100644 (file)
@@ -136,6 +136,8 @@ BOOL GetAdapterInfo(LPCSTR lpszDeviceName, D3DADAPTER_IDENTIFIER9* pIdentifier)
             FoundDisplayDevice = TRUE;
             break;
         }
+
+        ++AdapterIndex;
     }
 
     /* No matching display device found? */