]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
sys_usetimegettime is now initialized at a place where it shouldn't crash anymore...
[xonotic/darkplaces.git] / gl_backend.h
index 9476312b9a32feda9221ff0bec01e9b7116ee840..e7183ad0c0e31754e36556f7f10cceecb3697d41 100644 (file)
@@ -54,7 +54,7 @@ rmeshbufferinfo_t;
 void gl_backend_init(void);
 
 // starts mesh rendering for the frame
-void R_Mesh_Start(void);
+void R_Mesh_Start(float farclip);
 
 // ends mesh rendering for the frame
 // (only valid after R_Mesh_Start)
@@ -80,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)