X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=gl_backend.h;h=86b2d310d97031cf49b95b8704abb31e02c5d18a;hb=5864d6ddf200fbf11dffe1f36539c196c6641010;hp=1f416609d9418c98a1f6b955fe5681e799a99d7d;hpb=0c509133eb4eb82a1ca683e75ad5d95c7a25b9fd;p=xonotic%2Fdarkplaces.git diff --git a/gl_backend.h b/gl_backend.h index 1f416609..86b2d310 100644 --- a/gl_backend.h +++ b/gl_backend.h @@ -31,6 +31,7 @@ void R_GetViewport(r_viewport_t *v); void GL_Finish(void); void GL_BlendFunc(int blendfunc1, int blendfunc2); +void GL_BlendEquationSubtract(qboolean negated); void GL_DepthMask(int state); void GL_DepthTest(int state); void GL_DepthFunc(int state); @@ -41,7 +42,6 @@ void GL_PolygonOffset(float planeoffset, float depthoffset); void GL_CullFace(int state); void GL_AlphaTest(int state); void GL_AlphaToCoverage(qboolean state); -void GL_MultiSampling(qboolean state); void GL_ColorMask(int r, int g, int b, int a); void GL_Color(float cr, float cg, float cb, float ca); void GL_ActiveTexture(unsigned int num); @@ -52,8 +52,6 @@ void GL_Clear(int mask, const float *colorvalue, float depthvalue, int stencilva void GL_ReadPixelsBGRA(int x, int y, int width, int height, unsigned char *outpixels); int R_Mesh_CreateFramebufferObject(rtexture_t *depthtexture, rtexture_t *colortexture, rtexture_t *colortexture2, rtexture_t *colortexture3, rtexture_t *colortexture4); void R_Mesh_DestroyFramebufferObject(int fbo); -void R_Mesh_ResetRenderTargets(void); -void R_Mesh_SetMainRenderTargets(void); void R_Mesh_SetRenderTargets(int fbo, rtexture_t *depthtexture, rtexture_t *colortexture, rtexture_t *colortexture2, rtexture_t *colortexture3, rtexture_t *colortexture4); unsigned int GL_Backend_CompileProgram(int vertexstrings_count, const char **vertexstrings_list, int geometrystrings_count, const char **geometrystrings_list, int fragmentstrings_count, const char **fragmentstrings_list);