From 7a3874745ca370a799d95b5f86e85fcc8eadefbb Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 29 Mar 2008 11:44:03 +0000 Subject: fixed loads of graphical optimizations --- src/engine/e_if_gfx.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/engine/e_if_gfx.h') diff --git a/src/engine/e_if_gfx.h b/src/engine/e_if_gfx.h index 265d41d3..525633b4 100644 --- a/src/engine/e_if_gfx.h +++ b/src/engine/e_if_gfx.h @@ -455,7 +455,7 @@ void gfx_mapscreen(float tl_x, float tl_y, float br_x, float br_y); This is equal to glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA). See Also: - + */ void gfx_blend_normal(); @@ -468,10 +468,23 @@ void gfx_blend_normal(); This is equal to glBlendFunc(GL_SRC_ALPHA, GL_ONE). See Also: - + */ void gfx_blend_additive(); +/* + Function: gfx_blend_none + Disables blending + + Remarks: + This must be used before calling . + + See Also: + +*/ +void gfx_blend_none(); + + /* Function: gfx_setcolorvertex Sets the color of a vertex. -- cgit 1.4.1