diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-29 11:44:03 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-29 11:44:03 +0000 |
| commit | 7a3874745ca370a799d95b5f86e85fcc8eadefbb (patch) | |
| tree | 16f1e28f2f499279496866a63cabf88e2f2ad6c4 /src/engine/e_if_gfx.h | |
| parent | 171d6b1c206c0488b59d157bc266319bf4ab482b (diff) | |
| download | zcatch-7a3874745ca370a799d95b5f86e85fcc8eadefbb.tar.gz zcatch-7a3874745ca370a799d95b5f86e85fcc8eadefbb.zip | |
fixed loads of graphical optimizations
Diffstat (limited to 'src/engine/e_if_gfx.h')
| -rw-r--r-- | src/engine/e_if_gfx.h | 17 |
1 files changed, 15 insertions, 2 deletions
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: - <gfx_blend_additive> + <gfx_blend_additive,gfx_blend_none> */ void gfx_blend_normal(); @@ -468,11 +468,24 @@ void gfx_blend_normal(); This is equal to glBlendFunc(GL_SRC_ALPHA, GL_ONE). See Also: - <gfx_blend_normal> + <gfx_blend_normal,gfx_blend_none> */ void gfx_blend_additive(); /* + Function: gfx_blend_none + Disables blending + + Remarks: + This must be used before calling <gfx_quads_begin>. + + See Also: + <gfx_blend_normal,gfx_blend_additive> +*/ +void gfx_blend_none(); + + +/* Function: gfx_setcolorvertex Sets the color of a vertex. |