mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user