Dear Juan and Robert,
Thanks for the quick reply! I tried the code supplied by Juan but I'm still
getting the "Error: OpenGL version test failed, requires valid graphics
context." and subsequent errors (many "invalid operation").
As a second test I copied the complete osgViewer::setUpViewInWindow and just
added the line
Code:
traits->pbuffer = true;
to the Traits creation part. Without the line the code works but displays a
window, with the line I get the OpenGL errors. For the second case I get these
Errors:
Code:
PixelBufferWin32::makeCurrentImplementation, wglMakeCurrent error: Die
angeforderte Ressource wird bereits verwendet.
Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test
failed, requires valid graphics context.
Scaling image from (256,256) to (0,0)
("Die angeforderte Ressource wird bereits verwendet." is german for "The
Requested Resource Is in Use".)
Is this a Win32 related problem or am I missing something?
Cheers,
Oliver[/code]
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34261#34261
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org