[ros-diffs] [cwittich] 27849: fix condition in rosglCopyContext patch by Dirus (DannyDaemonic at gmail.com) See issue #2375 for more details.

cwittich at svn.reactos.org cwittich at svn.reactos.org
Thu Jul 26 17:12:39 CEST 2007


Author: cwittich
Date: Thu Jul 26 19:12:39 2007
New Revision: 27849

URL: http://svn.reactos.org/svn/reactos?rev=27849&view=rev
Log:
fix condition in rosglCopyContext patch by Dirus (DannyDaemonic at gmail.com)
See issue #2375 for more details.

Modified:
    trunk/reactos/dll/win32/opengl32/wgl.c

Modified: trunk/reactos/dll/win32/opengl32/wgl.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/opengl32/wgl.c?rev=27849&r1=27848&r2=27849&view=diff
==============================================================================
--- trunk/reactos/dll/win32/opengl32/wgl.c (original)
+++ trunk/reactos/dll/win32/opengl32/wgl.c Thu Jul 26 19:12:39 2007
@@ -582,7 +582,7 @@
 	}
 
 	/* 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 );




More information about the Ros-diffs mailing list