Creating OGL Context without a display/awtcanvas

Started by Evil-Devil, July 25, 2005, 15:52:20

Previous topic - Next topic

Evil-Devil

All times when I want to get some information about my OGL and so on, i have to create the context for it. But then a display / awtcanvas have to be created :(

Is there any way to create just the context without the display /awtcanvas stuff?

I need this for a controlpanel that comes with my engine and it bother me to create a display/awtcanvas just to get some informationen about my ogl driver...

greetz
benny

princec

Create a pbuffer instead :)
In truth we've not actually thought that this was a requirement so if it were to be done nicely we should provide a proper API to do it. Pbuffers aren't exactly reliable.

Cas :)

Evil-Devil

yea it works :)
Thanks for the reply, that helped me a lot.

Benny