OpenGL2: Remove check for GL_ARB_texture_non_power_of_two.

Core in OpenGL 2.0.
This commit is contained in:
SmileTheory committed 2016-10-21 16:58:42 -07:00
1 parent 41ae7815c9
commit ba59df8c8c
3 files changed
+3 -26

No files matched your search

-14
View File
@@ -138,20 +138,6 @@ void GLimp_InitExtraExtensions()
ri.Printf(PRINT_ALL, result[2], extension);
}
// GL_ARB_texture_non_power_of_two
extension = "GL_ARB_texture_non_power_of_two";
glRefConfig.textureNonPowerOfTwo = qfalse;
if( GLimp_HaveExtension( extension ) )
{
glRefConfig.textureNonPowerOfTwo = qtrue; // !!r_ext_texture_non_power_of_two->integer
ri.Printf(PRINT_ALL, result[glRefConfig.textureNonPowerOfTwo], extension);
}
else
{
ri.Printf(PRINT_ALL, result[2], extension);
}
// GL_ARB_texture_float
extension = "GL_ARB_texture_float";
glRefConfig.textureFloat = qfalse;