]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
fix lightmap switching/batching in fakelight
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index 5a8f6137d7b97f97903aeb8d8a81f2f812e3f418..cd220ce03a1ebef6a38d8edb522906dcfdecfeb3 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -51,7 +51,7 @@ typedef enum cachepicflags_e
        CACHEPICFLAG_NOTPERSISTENT = 1,
        CACHEPICFLAG_QUIET = 2,
        CACHEPICFLAG_NOCOMPRESSION = 4,
-       CACHEPICFLAG_NOCLAMP = 8,
+       CACHEPICFLAG_NOCLAMP = 8
 }
 cachepicflags_t;
 
@@ -183,6 +183,7 @@ void DrawQ_LineLoop(drawqueuemesh_t *mesh, int flags);
 // resets r_refdef.draw2dstage
 void DrawQ_Finish(void);
 void DrawQ_ProcessDrawFlag(int flags, qboolean alpha); // sets GL_DepthMask and GL_BlendFunc
+void DrawQ_RecalcView(void); // use this when changing r_refdef.view.* from e.g. csqc
 
 void R_DrawGamma(void);