From: havoc Date: Sun, 27 Jan 2008 02:03:54 +0000 (+0000) Subject: added a TODO comment about blacklisting GL_ARB_texture_non_power_of_two X-Git-Tag: xonotic-v0.1.0preview~2494 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=90eaaa41ecf671e0385ca9029bca298f6d2afc33;p=xonotic%2Fdarkplaces.git added a TODO comment about blacklisting GL_ARB_texture_non_power_of_two on Radeon X1600-X1950 cards git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8018 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_shared.c b/vid_shared.c index 02e0fcdd..eae2789e 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -774,6 +774,7 @@ void VID_CheckExtensions(void) // COMMANDLINEOPTION: GL: -nocubemap disables GL_ARB_texture_cube_map (required for bumpmapping) if ((gl_texturecubemap = GL_CheckExtension("GL_ARB_texture_cube_map", NULL, "-nocubemap", false))) qglGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB, &gl_max_cube_map_texture_size); + // TODO: blacklist this extension on Radeon X1600-X1950 hardware (they support it only with certain filtering/repeat modes) // COMMANDLINEOPTION: GL: -notexturenonpoweroftwo disables GL_ARB_texture_non_power_of_two (which saves video memory if it is supported, but crashes on some buggy drivers) gl_support_arb_texture_non_power_of_two = GL_CheckExtension("GL_ARB_texture_non_power_of_two", NULL, "-notexturenonpoweroftwo", false); // COMMANDLINEOPTION: GL: -notexturecompression disables GL_ARB_texture_compression (which saves video memory if it is supported, but can also degrade image quality, see gl_texturecompression cvar documentation for more information)