]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
fixed realtime lighting bugs with gl_mesh_batching 1 (... by not using batching while...
[xonotic/darkplaces.git] / gl_backend.h
index edcd19cdd874b28f941a74d048187f2278241e26..72acc7b2eb0bb311e31e432cc53f9c26a4fba6de 100644 (file)
@@ -81,8 +81,10 @@ void R_Mesh_TextureState(const rmeshstate_t *m);
 void R_Mesh_EndBatch(void);
 // prepares varray_* buffers for rendering a mesh
 void R_Mesh_GetSpace(int numverts);
-// renders the mesh in the varray_* buffers
+// renders a mesh (optionally with batching)
 void R_Mesh_Draw(int numverts, int numtriangles, const int *elements);
+// renders a mesh without affecting batching
+void R_Mesh_Draw_NoBatching(int numverts, int numtriangles, const int *elements);
 
 // copies a vertex3f array into varray_vertex3f
 void R_Mesh_CopyVertex3f(const float *vertex3f, int numverts);