BryceMehring / GameEngine

C++ OpenGL Cross Platform Game Engine
7 stars 2 forks source link

Check if OpenGL is supported by hardware #52

Closed BryceMehring closed 10 years ago

BryceMehring commented 10 years ago

GLEW sets global Boolean variables which we should be checking to see if the hardware is supported.

if (glewIsSupported("GL_VERSION_1_4  GL_ARB_point_sprite"))
{
    /* Great, we have OpenGL 1.4 + point sprites. */
}
BryceMehring commented 10 years ago

Added: aeabf98151e52d99c5ec8530902c482ba4fc698b