]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
added r_fullbright (and EF_FULLBRIGHT) support to q3bsp rendering
[xonotic/darkplaces.git] / gl_backend.h
index 72ce432251317ca2f7ee3865de7fc8ca96117c69..59cb3e046816073b0e9fe165df1e62e766168cc5 100644 (file)
@@ -25,7 +25,6 @@ void GL_ActiveTexture(int num);
 void GL_ClientActiveTexture(int num);
 void GL_Scissor(int x, int y, int width, int height); // AK for DRAWQUEUE_SETCLIP
 void GL_ScissorTest(int state);        // AK for DRAWQUEUE_(RE)SETCLIP
 
 extern cvar_t gl_lockarrays;
 extern cvar_t gl_mesh_copyarrays;
@@ -76,6 +75,8 @@ void R_Mesh_State_Texture(const rmeshstate_t *m);
 
 // renders a mesh
 void R_Mesh_Draw(int numverts, int numtriangles, const int *elements);
+// renders a mesh as lines
+void R_Mesh_Draw_ShowTris(int numverts, int numtriangles, int *elements);
 
 // saves a section of the rendered frame to a .tga or .jpg file
 qboolean SCR_ScreenShot(char *filename, int x, int y, int width, int height, qboolean jpeg);