Hello, On Fri, Oct 4, 2013 at 1:17 PM, Sajjadul Islam <[email protected]> wrote: > Hi Forum, > > I know that this topic is widely discussed here to run shading language 4 > with OpenGL 3 and onwards using the compatibility profile. I checked the > osgsimplegl3 and osgvertexattrib array example. Then i try to compile the a > simple application with a pass through shader only , but i am having the > following error: > > > Code: > > Got an X11ErrorHandling call display=0x9c41880 event=0xb3fadf2c > GLXBadDrawable > Major opcode: 135 > Minor opcode: 11 > Error code: 146 > Request serial: 9503 > Current serial: 9503 > ResourceID: 73400323
I think you are attempting to create a graphic context before you have a valid window created. That will fail, because the context is normally tied to a window. That's why the BadDrawable error. J. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

