PDA

View Full Version : Which GL rendering engine?



Layton
08-22-2001, 11:46 AM
When ogl is software rendered through Windows NT/2000, black borders show up when a window is maximized. (Many laptops let Windows handle the GL rendering) Switching from double buffered to single buffered and back to double buffered is a work-around. However, users of my software with hardware acceleration do not need this work-around slowing down the CPU. Is there a ogl function the returns whether or not ogl is rendered by Windows or the graphics card?

Rob The Bloke
08-22-2001, 02:40 PM
char *renderer,*version,*vendor,*extensions;
renderer = glGetString(GL_RENDERER);
version = glGetString(GL_VERSION);
vendor = glGetString(GL_VENDOR);
extensions = glGetString(GL_EXTENSIONS);