Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/macx
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2010-03-01 05:14:31 +0300
committerThorvald Natvig <slicer@users.sourceforge.net>2010-03-01 05:14:31 +0300
commit9fa00c3c1c73462443093e14b2539e8e17828818 (patch)
tree5b8d2a946a06d3e928583092ab4a53be7e093d45 /macx
parentb658561ec118d73bcb623d018936898355f5fe5a (diff)
Use premultiplied alpha textures
Diffstat (limited to 'macx')
-rw-r--r--macx/overlay/overlay.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macx/overlay/overlay.m b/macx/overlay/overlay.m
index 17607c7b3..bd434fe73 100644
--- a/macx/overlay/overlay.m
+++ b/macx/overlay/overlay.m
@@ -477,7 +477,7 @@ static void drawContext(Context * ctx, int width, int height) {
glEnable(GL_TEXTURE_2D);
glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);
glEnable(GL_BLEND);
- glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
glMatrixMode(GL_MODELVIEW);