fix condition in rosglCopyContext patch by Dirus (DannyDaemonic at gmail.com)

See issue #2375 for more details.

svn path=/trunk/; revision=27849
This commit is contained in:
Christoph von Wittich
2007-07-26 15:12:39 +00:00
parent bf93eab031
commit 0cd283447c
+1 -1
View File
@@ -582,7 +582,7 @@ rosglCopyContext( HGLRC hsrc, HGLRC hdst, UINT mask )
}
/* I think this is only possible within one ICD */
if (src->icd != src->icd)
if (src->icd != dst->icd)
{
DBGPRINT( "Error: src and dst GLRC use different ICDs!" );
SetLastError( ERROR_INVALID_HANDLE );