diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-03-01 05:14:31 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-03-01 05:14:31 +0300 |
commit | 9fa00c3c1c73462443093e14b2539e8e17828818 (patch) | |
tree | 5b8d2a946a06d3e928583092ab4a53be7e093d45 /macx | |
parent | b658561ec118d73bcb623d018936898355f5fe5a (diff) |
Use premultiplied alpha textures
Diffstat (limited to 'macx')
-rw-r--r-- | macx/overlay/overlay.m | 2 |
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); |