X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=gl_backend.h;h=73d317db503d38ba30f2d18c1d426d4b88b2780a;hb=26a744901b44783350d7af3cb429544fed04506e;hp=af6b5a6ad81659c6514fc7a8dc72ea91424480d7;hpb=1a50f2589428e9f059f13b123839ee78eeb2330a;p=xonotic%2Fdarkplaces.git diff --git a/gl_backend.h b/gl_backend.h index af6b5a6a..73d317db 100644 --- a/gl_backend.h +++ b/gl_backend.h @@ -93,12 +93,12 @@ void R_Mesh_TexCombine(unsigned int unitnum, int combinergb, int combinealpha, i void R_Mesh_State(const rmeshstate_t *m); // renders a mesh -void R_Mesh_Draw(int numverts, int numtriangles, const int *elements); +void R_Mesh_Draw(int firstvertex, int numvertices, int numtriangles, const int *elements); // renders a mesh as lines -void R_Mesh_Draw_ShowTris(int numverts, int numtriangles, const int *elements); +void R_Mesh_Draw_ShowTris(int firstvertex, int numvertices, int numtriangles, const int *elements); // saves a section of the rendered frame to a .tga or .jpg file -qboolean SCR_ScreenShot(char *filename, qbyte *buffer1, qbyte *buffer2, qbyte *buffer3, int x, int y, int width, int height, qboolean flipx, qboolean flipy, qboolean flipdiagonal, qboolean jpeg); +qboolean SCR_ScreenShot(char *filename, qbyte *buffer1, qbyte *buffer2, qbyte *buffer3, int x, int y, int width, int height, qboolean flipx, qboolean flipy, qboolean flipdiagonal, qboolean jpeg, qboolean gammacorrect); // used by R_Envmap_f and internally in backend, clears the frame void R_ClearScreen(void); // invoke refresh of frame