[ros-bugs] [Bug 2375] New: wgl.c: invalid test
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Sun Jul 8 12:12:29 CEST 2007
http://www.reactos.org/bugzilla/show_bug.cgi?id=2375
Summary: wgl.c: invalid test
Product: ReactOS
Version: TRUNK
Platform: x86 Hardware
OS/Version: ReactOS
Status: NEW
Severity: minor
Priority: P3
Component: Win32
AssignedTo: ros-bugs at reactos.org
ReportedBy: DannyDaemonic at gmail.com
QAContact: ros-bugs at reactos.org
The code in reactos/dll/win32/opengl32/wgl.c says it is checking for:
"Error: src and dst GLRC use different ICDs!"
But it is comparing src and src instead of src and dst.
The project is too huge to check out just for this simple fix so I only
co svn://svn.reactos.org/reactos/trunk/reactos/dll/win32/opengl32
Index: wgl.c
===================================================================
--- wgl.c (revision 27459)
+++ wgl.c (working copy)
@@ -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 );
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.
More information about the Ros-bugs
mailing list