]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
added cvar r_fixtrans_auto to automatically call fixtrans on all textures that are...
[xonotic/darkplaces.git] / r_shadow.c
index 01f23c28f5edc58460f4c7a0ab868d8f4efb0cc5..4230cbf55685b650f9ebb66c5b950a4ec10df752 100644 (file)
@@ -3215,7 +3215,7 @@ rtexture_t *R_Shadow_LoadCubemap(const char *basename)
                        // generate an image name based on the base and and suffix
                        dpsnprintf(name, sizeof(name), "%s%s", basename, suffix[j][i].suffix);
                        // load it
-                       if ((image_rgba = loadimagepixels(name, false, cubemapsize, cubemapsize)))
+                       if ((image_rgba = loadimagepixels(name, false, cubemapsize, cubemapsize, false)))
                        {
                                // an image loaded, make sure width and height are equal
                                if (image_width == image_height)