From a9620a0295d4178fcd8952a91ffd5e2c38005c8a Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 16 Nov 2008 16:04:57 +0000 Subject: [PATCH] scope is supposed to be alpha blended git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3559 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/renderhud.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index fca971d9..8100b98f 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -86,9 +86,6 @@ void drawscope() // this may need to change depending on the aspect ratio at which the scope image is drawn at const float scopeaspect = 4.0f/3.0f; - glEnable(GL_ALPHA_TEST); - glAlphaFunc(GL_GREATER, 0.9f); - glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); static Texture *scopetex = NULL; if(!scopetex) scopetex = textureload("packages/misc/scope.png", 3); @@ -124,8 +121,6 @@ void drawscope() } glEnd(); - - glDisable(GL_ALPHA_TEST); } const char *crosshairnames[CROSSHAIR_NUM] = { "default", "teammate", "scope" };