GRAPHICS: Set the namespace for OpenGL classes to OpenGL
This commit is contained in:
parent
6aa353866f
commit
4c2c1b4d36
13 changed files with 34 additions and 33 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue