Detecting OpneGL capability

Started by Melssj5, September 05, 2005, 09:29:11 AM

Previous topic - Next topic

Melssj5

Hi, when I began trying this engine again, I tried to use the openGL but all what I got was a white screen, so I tried all what was possible, but I just couldnt, then I thought that it could be due to my graphic card, because I lend my GForce 4 to my brother and I was using my sis651 of 64MB that is supposed to have OpenGL compatibility.

When I bring my GForce again it worked perfectly, so I want to know if is there any way that the engine API can detect this capability!!!!!
Nada por ahora

EgonOlsen

To detect if OpenGL is possible, you may get the video modes by calling
FrameBuffer.getVideoModes(IRenderer.RENDERER_OPENGL);
If it returns a none empty array, OpenGL is supported. But that doesn't mean that your SIS651 correctly supports it. SIS is known for crappy drivers and the SIS651 is a joke of a graphics chipset. I also think some people reported problems with SIS and LWJGL but i'm not sure...

Melssj5

ok, thanks a lot, I had spent two days after thinking of the graphic card  :oops:

Detecting the hardware aceleration  is very usefull when doing a programm.
Nada por ahora