]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
turned off mipmapping on attenuation texture
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 22 Jan 2003 00:42:05 +0000 (00:42 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 22 Jan 2003 00:42:05 +0000 (00:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2696 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index 4efed83a2cf2220916e1ea09ea76a33d2aad3244..4272ead8e44ba3392a917ea9b9beae1dd510e807 100644 (file)
@@ -443,7 +443,7 @@ static void R_Shadow_MakeTextures(void)
                        data[((0*128+y)*128+x)*4+3] = d;
                }
        }
-       r_shadow_attenuation2dtexture = R_LoadTexture2D(r_shadow_texturepool, "attenuation2d", 128, 128, data, TEXTYPE_RGBA, TEXF_PRECACHE | TEXF_CLAMP | TEXF_ALPHA | TEXF_MIPMAP, NULL);
+       r_shadow_attenuation2dtexture = R_LoadTexture2D(r_shadow_texturepool, "attenuation2d", 128, 128, data, TEXTYPE_RGBA, TEXF_PRECACHE | TEXF_CLAMP | TEXF_ALPHA, NULL);
        Mem_Free(data);
 }