]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rsurf.c
fixed a unintended-water-scroll bug on transparent fullbright surfaces
[xonotic/darkplaces.git] / gl_rsurf.c
index a9a4f78df104e08877010461958c442b3fa12318..6dfb17bc9f245c4a5f6dd62b4143df85751c44d1 100644 (file)
@@ -646,7 +646,6 @@ static void R_DrawSurfaceList(const entity_render_t *ent, texture_t *texture, in
                                m.tex[0] = R_GetTexture(texture->skin.base);
                                if (waterscrolling)
                                        m.texmatrix[0] = r_surf_waterscrollmatrix;
                                m.tex[0] = R_GetTexture(texture->skin.base);
                                if (waterscrolling)
                                        m.texmatrix[0] = r_surf_waterscrollmatrix;
-                               m.texmatrix[0] = r_surf_waterscrollmatrix;
                                m.pointer_color = varray_color4f;
                                colorscale = 1;
                                if (gl_combine.integer)
                                m.pointer_color = varray_color4f;
                                colorscale = 1;
                                if (gl_combine.integer)