]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
use floats rather than doubles for view matrix stuff
[xonotic/darkplaces.git] / gl_rmain.c
index 490655241c52c5180903544ac5d1f02d52fc5249..7e2308e2a5d7a38ce626a2c8c7cafab883cd7140 100644 (file)
@@ -4183,8 +4183,8 @@ void R_View_Update(void)
 
 void R_SetupView(qboolean allowwaterclippingplane)
 {
-       const double *customclipplane = NULL;
-       double plane[4];
+       const float *customclipplane = NULL;
+       float plane[4];
        if (r_refdef.view.useclipplane && allowwaterclippingplane)
        {
                // LordHavoc: couldn't figure out how to make this approach the