From: havoc Date: Wed, 26 Jan 2011 11:48:27 +0000 (+0000) Subject: change DPSOFTRAST default texture filter to linear, it hurts fps some X-Git-Tag: xonotic-v0.5.0~438^2~92 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=52bda2e01c2fe584bb98477d158be3ef68dfb210;p=xonotic%2Fdarkplaces.git change DPSOFTRAST default texture filter to linear, it hurts fps some but looks substantially better git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10749 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_textures.c b/gl_textures.c index c6262baf..0f312b8c 100644 --- a/gl_textures.c +++ b/gl_textures.c @@ -39,8 +39,8 @@ cvar_t r_texture_dds_swdecode = {0, "r_texture_dds_swdecode", "0", "0: don't sof qboolean gl_filter_force = false; int gl_filter_min = GL_LINEAR_MIPMAP_LINEAR; int gl_filter_mag = GL_LINEAR; -DPSOFTRAST_TEXTURE_FILTER dpsoftrast_filter_mipmap = DPSOFTRAST_TEXTURE_FILTER_NEAREST_MIPMAP_TRIANGLE; -DPSOFTRAST_TEXTURE_FILTER dpsoftrast_filter_nomipmap = DPSOFTRAST_TEXTURE_FILTER_NEAREST; +DPSOFTRAST_TEXTURE_FILTER dpsoftrast_filter_mipmap = DPSOFTRAST_TEXTURE_FILTER_LINEAR_MIPMAP_TRIANGLE; +DPSOFTRAST_TEXTURE_FILTER dpsoftrast_filter_nomipmap = DPSOFTRAST_TEXTURE_FILTER_LINEAR; #ifdef SUPPORTD3D int d3d_filter_flatmin = D3DTEXF_LINEAR;