]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
removed gl_viewmodeldepthhack
[xonotic/darkplaces.git] / gl_backend.h
index bde446bb56ac0e98369589354e9343f3f9a8891c..2eaae8e8aba04bdecc34b969f4f44560fd936452 100644 (file)
@@ -1,7 +1,7 @@
 
 #define MAX_TEXTUREUNITS 4
 
-extern int c_meshtris;
+extern int c_meshtris, c_meshs, c_transtris, c_transmeshs;
 
 typedef struct
 {
@@ -38,5 +38,5 @@ void R_Mesh_Draw(const rmeshinfo_t *m);
 void R_Mesh_AddTransparent(void);
 // ease-of-use frontend to R_Mesh_Draw, set up meshinfo, except for index and numtriangles and numverts, then call this
 void R_Mesh_DrawPolygon(rmeshinfo_t *m, int numverts);
-// ease-of-use frontend to R_Mesh_Draw for particles, no speed gain
-void R_Mesh_DrawParticle(vec3_t org, vec3_t right, vec3_t up, vec_t scale, int texnum, float cr, float cg, float cb, float ca, float s1, float t1, float s2, float t2, float fs1, float ft1, float fs2, float ft2);
\ No newline at end of file
+// same as normal, except for harsh format restrictions (vertex must be 4 float, color must be 4 float, texcoord must be 2 float, flat color not supported)
+void R_Mesh_Draw_NativeOnly(const rmeshinfo_t *m);