From: grumbel Date: Sun, 6 Dec 2009 22:44:50 +0000 (+0000) Subject: Replaced GL_ARB_texture_non_power_of_two with proper GLEW_ARB_texture_non_power_of_two X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4803acac747129516f75391fd2e2af8b4d1ee151;p=supertux.git Replaced GL_ARB_texture_non_power_of_two with proper GLEW_ARB_texture_non_power_of_two git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6189 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- diff --git a/src/video/gl/gl_renderer.cpp b/src/video/gl/gl_renderer.cpp index b578977ad..7e6ce77ba 100644 --- a/src/video/gl/gl_renderer.cpp +++ b/src/video/gl/gl_renderer.cpp @@ -180,7 +180,7 @@ GLRenderer::GLRenderer() : throw std::runtime_error(out.str()); } log_info << "Using GLEW " << glewGetString(GLEW_VERSION) << std::endl; - log_info << "GL_ARB_texture_non_power_of_two: " << GL_ARB_texture_non_power_of_two << std::endl; + log_info << "GLEW_ARB_texture_non_power_of_two: " << GLEW_ARB_texture_non_power_of_two << std::endl; #endif } diff --git a/src/video/gl/gl_texture.cpp b/src/video/gl/gl_texture.cpp index ca56a9800..c703771e4 100644 --- a/src/video/gl/gl_texture.cpp +++ b/src/video/gl/gl_texture.cpp @@ -77,7 +77,7 @@ GLTexture::GLTexture(SDL_Surface* image) : texture_width = next_power_of_two(image->w); texture_height = next_power_of_two(image->h); #else - if (GL_ARB_texture_non_power_of_two) + if (GLEW_ARB_texture_non_power_of_two) { texture_width = image->w; texture_height = image->h;