Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=7585 Summary: Missing check in WMesaMakeCurrent Product: Mesa Version: 6.5 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Mesa core AssignedTo: mesa3d-dev@lists.sourceforge.net ReportedBy: [EMAIL PROTECTED]
I think there is a missing check in mesa-6.5\src\mesa\drivers\windows\gdi\wmesa.c following line 1316 in the function "void WMesaMakeCurrent(WMesaContext c, HDC hdc)". At the beginning of the function it says: GET_CURRENT_CONTEXT(ctx); WMesaContext pwc = wmesa_context(ctx); if (c == pwc && pwc->hDC == hdc) // << This line fails return; but if pwc == 0, pwc->hDC throws an access violation. You can verify this by doing: void main(void) { wglMakeCurrent(0, 0); } -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev