]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.c
R_LoadTexture functions take a palette pointer now
[xonotic/darkplaces.git] / model_shared.c
index 8c7342a8cae4afb53359d6324f1191186cb28746..10d37620e1338bf1eb6a5f5c6d6456711491aec4 100644 (file)
@@ -63,7 +63,7 @@ void Mod_SetupNoTexture(void)
        }
 
        r_notexturepool = R_AllocTexturePool();
-       r_notexture = R_LoadTexture(r_notexturepool, "notexture", 16, 16, &pix[0][0][0], TEXTYPE_RGBA, TEXF_MIPMAP);
+       r_notexture = R_LoadTexture2D(r_notexturepool, "notexture", 16, 16, &pix[0][0][0], TEXTYPE_RGBA, TEXF_MIPMAP, NULL);
 }
 
 extern void Mod_BrushStartup (void);