]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
optimized phys_moveentities (in cgame.c) so it doesn't waste so much time
[xonotic/darkplaces.git] / gl_backend.h
index ae14212956ff6837cfc9f9ce6b78b1e35e164791..be9ecf7d553fbc42176e5e2c418eacc463a2da3b 100644 (file)
@@ -1,4 +1,7 @@
 
+#ifndef GL_BACKEND_H
+#define GL_BACKEND_H
+
 #define MAX_TEXTUREUNITS 8
 
 extern int c_meshtris, c_meshs, c_transtris, c_transmeshs;
@@ -77,10 +80,6 @@ void R_Mesh_AddTransparent(void);
 // (only valid between R_Mesh_Start and R_Mesh_Finish)
 void R_Mesh_DrawPolygon(rmeshinfo_t *m, int numverts);
 
-// 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)
-// (only valid between R_Mesh_Start and R_Mesh_Finish)
-void R_Mesh_Draw_NativeOnly(const rmeshinfo_t *m);
-
 // allocates space in geometry buffers, and fills in pointers to the buffers in passsed struct
 // (this is used for very high speed rendering, no copying)
 // (only valid between R_Mesh_Start and R_Mesh_Finish)
@@ -92,3 +91,6 @@ qboolean SCR_ScreenShot(char *filename, int x, int y, int width, int height);
 void R_ClearScreen(void);
 // invoke refresh of frame
 void SCR_UpdateScreen (void);
+
+#endif
+