]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_textures.c
Fixed a warning when compiling with GCC (missing type)
[xonotic/darkplaces.git] / gl_textures.c
index 1ada32e46fdaad1fffb0f524b652a70c5efec2e2..b07078eeb6639a310223c63fb8779e1d99e322f7 100644 (file)
@@ -530,7 +530,7 @@ void R_Textures_Init (void)
 
 void R_Textures_Frame (void)
 {
-       static  old_aniso = 0;
+       static int old_aniso = 0;
 
        // could do procedural texture animation here, if we keep track of which
        // textures were accessed this frame...