]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
optimized rtlighting passes by using RSurf_DrawBatch_Simple, this took a lot of code...
[xonotic/darkplaces.git] / render.h
index bfd89e67901638a7fcceddcd5ac67be641c8a858..40d40ae71e72bb987d86a65233dc7260a8d87d06 100644 (file)
--- a/render.h
+++ b/render.h
@@ -311,6 +311,7 @@ void R_QueueTextureSurfaceList(int texturenumsurfaces, msurface_t **texturesurfa
 void R_DrawSurfaces(entity_render_t *ent, qboolean skysurfaces);
 
 void RSurf_PrepareVerticesForBatch(qboolean generatenormals, qboolean generatetangents, int texturenumsurfaces, msurface_t **texturesurfacelist);
+void RSurf_DrawBatch_Simple(int texturenumsurfaces, msurface_t **texturesurfacelist);
 
 #define SHADERPERMUTATION_MODE_LIGHTSOURCE (1<<0) // (lightsource) use directional pixel shading from light source (rtlight)
 #define SHADERPERMUTATION_MODE_LIGHTDIRECTIONMAP_MODELSPACE (1<<1) // (lightmap) use directional pixel shading from texture containing modelspace light directions (deluxemap)