From: grumbel Date: Wed, 30 Dec 2009 13:46:13 +0000 (+0000) Subject: Added cast around GLEW_ARB_texture_non_power_of_two, as it might be a char and screw... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ed304ef8cdc302ff50b85293dbd2456d24b441f3;p=supertux.git Added cast around GLEW_ARB_texture_non_power_of_two, as it might be a char and screw up output git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6231 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- diff --git a/src/video/gl/gl_renderer.cpp b/src/video/gl/gl_renderer.cpp index c6889124d..b27184802 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 << "GLEW_ARB_texture_non_power_of_two: " << GLEW_ARB_texture_non_power_of_two << std::endl; + log_info << "GLEW_ARB_texture_non_power_of_two: " << static_cast(GLEW_ARB_texture_non_power_of_two) << std::endl; #endif }