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?re... ============================================================================== --- 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 );