Check OpenGL Hardware Acceleration Is Functioning?

Check OpenGL Hardware Acceleration Is Functioning?

Hi,

How would I check if OpenGL hardware acceleration is functioning?

I tried the following code on a computer that I know the OpenGL is working on
but it always returns 0 which tells me OGL HW acceleration is not working???

Code:
Uint32 OGLworking = 0;
//…
const SDL_VideoInfo* VideoInfo = SDL_GetVideoInfo();
OGLworking = VideoInfo->hw_available;
//…
//above always returns a 0 (Zero)…

Anyone have any ideas?

Thanks!

Jesse

How would I check if OpenGL hardware acceleration is functioning?

http://dri.freedesktop.org/wiki/glxinfo

Read the recent thread named "[SDL] Detect If OpenGL Is Working?"On Fri, Jun 11, 2010 at 10:05 AM, wrote:

How would I check if OpenGL hardware acceleration is functioning?

http://dri.freedesktop.org/wiki/glxinfo


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


±----------------------------------------------------------