]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_sky.c
got rid of lots of unnecessary m.transparent = lines, as well as some depthdisable...
[xonotic/darkplaces.git] / r_sky.c
diff --git a/r_sky.c b/r_sky.c
index 7e2113552672dd7ab15134dee5b00624f8a01e0e..d7f95cff5dcbef2a4a14b5486aa13ef369f96963 100644 (file)
--- a/r_sky.c
+++ b/r_sky.c
@@ -164,7 +164,6 @@ static void R_SkyBox(void)
        m.texcoords[0][i * 2 + 1] = (t) * (254.0f/256.0f) + (1.0f/256.0f);
 
        memset(&m, 0, sizeof(m));
-       m.transparent = false;
        m.blendfunc1 = GL_ONE;
        m.blendfunc2 = GL_ZERO;
        m.depthdisable = true; // don't modify or read zbuffer
@@ -340,7 +339,6 @@ static void R_SkySphere(void)
        speedscale2 -= (int)speedscale2;
 
        memset(&m, 0, sizeof(m));
-       m.transparent = false;
        m.blendfunc1 = GL_ONE;
        m.blendfunc2 = GL_ZERO;
        m.depthdisable = true; // don't modify or read zbuffer