LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Evil-Devil on July 25, 2005, 15:52:20

Title: Creating OGL Context without a display/awtcanvas
Post by: Evil-Devil on July 25, 2005, 15:52:20
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
Title: Creating OGL Context without a display/awtcanvas
Post by: princec on July 25, 2005, 17:18:24
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 :)
Title: Creating OGL Context without a display/awtcanvas
Post by: Evil-Devil on August 02, 2005, 18:47:47
yea it works :)
Thanks for the reply, that helped me a lot.

Benny