Y-tension
04-26-2010, 01:45 PM
Hey people, started porting some of my openGL demos to linux (Ubuntu 9.10) but I've got a couple of compatibility issues.
On a geforce 8400,I use GLX_BUFFER_SIZE 24 for fbconfig but on an older ATI 9000 it has to be 32 or window creation fails. What is the correct way to detect a valid bit depth before I call initialization routines?
On a geforce 8400,I use GLX_BUFFER_SIZE 24 for fbconfig but on an older ATI 9000 it has to be 32 or window creation fails. What is the correct way to detect a valid bit depth before I call initialization routines?