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