GRAPHICS: Set the namespace for OpenGL classes to OpenGL

This commit is contained in:
Bastien Bouclet 2016-01-04 22:09:12 +01:00
parent 6aa353866f
commit 4c2c1b4d36
13 changed files with 34 additions and 33 deletions

View file

@ -83,7 +83,7 @@ const GLfloat vertices[] = {
};
void GLESBaseTexture::initGL() {
npot_supported = Graphics::isExtensionSupported("GL_ARB_texture_non_power_of_two");
npot_supported = OpenGL::isExtensionSupported("GL_ARB_texture_non_power_of_two");
const char* attributes[] = { "position", "texcoord", NULL };
g_box_shader = Graphics::Shader::fromStrings("control", Graphics::BuiltinShaders::controlVertex, Graphics::BuiltinShaders::controlFragment, attributes);