Re: [osg-users] Access Violation in wglChoosePixelFormat when running with Purify
Hi, just to let you know... I hacked the code reverting to ::ChoosePixelFormat explicetly. (The code already has a fallback mechanism). Apparently, this was the only "blocker" to get the app running with Purify. Now I can't seem to get anti-aliasing. traits.samples does not go into the call to ::ChoosePixelFormat. Should not these Methods be equivalent? I guess ::ChoosePixelFormat does not allow to choose multi-sampling. The following link seems to confirm this: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=46 Regards, Florian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27481#27481 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Access Violation in wglChoosePixelFormat when running with Purify
Hi, I am running OpenSceneGraph-2.8.3 on Windows XP and my app runs fine. Running it with Purify though, I get an Access Violation in wglChoosePixelFormat. I'm pretty sure it's the call from the osgViewer (GraphicsWindowWin32.cpp). [E] EXU: Unhandled exception in wglChoosePixelFormat {1 occurrence} Exception code: 0xc005 [Error: access violation reading from 0x0564] Exception address: [C:\WINDOWS\SYSTEM32\OPENGL32.DLL ip=0x5F0FAED7] Filter: [C:\Programme\IBM\RationalPurifyPlus\Common\PURERT.DLL ip=0x3F018190] Exception location [c:\WINDOWS\SYSTEM32\OPENGL32.DLL ip=0x5F0FAED9] I assume that Purify has trouble with the function call where the function pointer was retrieved via wglGetProcAddress? Does anyone have experience with this? Thank you! Cheers, Florian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27062#27062 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org