git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6189
837edb03-e0f3-0310-88ca-
d4d4e8b29345
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
}
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;