diff --git a/source/src/renderextras.cpp b/source/src/renderextras.cpp index e47bfa92..897f3091 100644 --- a/source/src/renderextras.cpp +++ b/source/src/renderextras.cpp @@ -366,7 +366,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat } else if((player1->gunselect != GUN_SNIPER || teammate_in_xhair) && !player1->reloading && !player1->state==CS_DEAD) { - glBlendFunc(GL_SRC_ALPHA, GL_SRC_ALPHA); + glBlendFunc(GL_ONE, GL_ONE); static Texture *teammatetex = NULL; if(!teammatetex) teammatetex = textureload("packages/misc/teammate.png"); glBindTexture(GL_TEXTURE_2D, teammate_in_xhair ? teammatetex->id : crosshair->id); diff --git a/source/src/renderparticles.cpp b/source/src/renderparticles.cpp index 4cc72c83..c276fc64 100644 --- a/source/src/renderparticles.cpp +++ b/source/src/renderparticles.cpp @@ -51,7 +51,7 @@ void render_particles(int time) glDepthMask(GL_FALSE); glEnable(GL_BLEND); - glBlendFunc(GL_SRC_ALPHA, GL_SRC_ALPHA); + glBlendFunc(GL_SRC_ALPHA, GL_ONE); glDisable(GL_FOG); static Texture *parttex[2] = {NULL, NULL};