diff --git a/renderer/HardwareOpenGL.cpp b/renderer/HardwareOpenGL.cpp index fc36d0f7..ef0aa0fe 100644 --- a/renderer/HardwareOpenGL.cpp +++ b/renderer/HardwareOpenGL.cpp @@ -262,8 +262,6 @@ void opengl_SetDefaults() { gpu_state.cur_alpha_type = AT_TEXTURE; // Enable some states - dglAlphaFunc(GL_GREATER, 0); - dglEnable(GL_ALPHA_TEST); dglEnable(GL_BLEND); dglEnable(GL_DITHER); opengl_Blending_on = true; @@ -302,8 +300,6 @@ void opengl_SetDefaults() { dglClientActiveTextureARB(GL_TEXTURE0_ARB + 0); dglDisable(GL_TEXTURE_2D); - dglAlphaFunc(GL_GREATER, 0); - dglEnable(GL_ALPHA_TEST); dglEnable(GL_BLEND); dglEnable(GL_DITHER); dglBlendFunc(GL_DST_COLOR, GL_ZERO); diff --git a/renderer/dyna_gl.h b/renderer/dyna_gl.h index 9f13d2df..1141b8d4 100644 --- a/renderer/dyna_gl.h +++ b/renderer/dyna_gl.h @@ -146,7 +146,6 @@ static module *LoadOpenGLDLL(const char *dllname) { #define DYNAEXTERN(Name) extern FnPtr const d##Name #endif -DYNAEXTERN(glAlphaFunc); DYNAEXTERN(glBegin); DYNAEXTERN(glBindTexture); DYNAEXTERN(glBlendFunc);