From: havoc Date: Wed, 9 Dec 2009 13:04:42 +0000 (+0000) Subject: removed GL_NV_blend_square detection because it is no longer used X-Git-Tag: xonotic-v0.1.0preview~1069 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=c53c8b42b4c5acb7184e2d037415232541ec98a6;hp=5276075225f350c45e2a78a254cf1746e4c10948 removed GL_NV_blend_square detection because it is no longer used without the dot3 lighting code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9577 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid.h b/vid.h index b7c5ea93..a7c34b43 100644 --- a/vid.h +++ b/vid.h @@ -64,7 +64,6 @@ typedef struct viddef_support_s qboolean ext_texture_3d; qboolean ext_texture_edge_clamp; qboolean ext_texture_filter_anisotropic; - qboolean nv_blend_square; } viddef_support_t; diff --git a/vid_shared.c b/vid_shared.c index c091d824..54d63291 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -812,10 +812,8 @@ void VID_CheckExtensions(void) vid.support.ext_texture_3d = GL_CheckExtension("GL_EXT_texture3D", texture3dextfuncs, "-notexture3d", false); vid.support.ext_texture_edge_clamp = GL_CheckExtension("GL_EXT_texture_edge_clamp", NULL, "-noedgeclamp", false) || GL_CheckExtension("GL_SGIS_texture_edge_clamp", NULL, "-noedgeclamp", false); vid.support.ext_texture_filter_anisotropic = GL_CheckExtension("GL_EXT_texture_filter_anisotropic", NULL, "-noanisotropy", false); - vid.support.nv_blend_square = GL_CheckExtension("GL_NV_blend_square", NULL, "-noblendsquare", false); // COMMANDLINEOPTION: GL: -noanisotropy disables GL_EXT_texture_filter_anisotropic (allows higher quality texturing) // COMMANDLINEOPTION: GL: -noblendminmax disables GL_EXT_blend_minmax -// COMMANDLINEOPTION: GL: -noblendsquare disables GL_NV_blend_square // COMMANDLINEOPTION: GL: -noblendsubtract disables GL_EXT_blend_subtract // COMMANDLINEOPTION: GL: -nocombine disables GL_ARB_texture_env_combine or GL_EXT_texture_env_combine (required for bumpmapping and faster map rendering) // COMMANDLINEOPTION: GL: -nocubemap disables GL_ARB_texture_cube_map (required for bumpmapping)