dglAlphaFunc(GL_GREATER, 0) is perfectly redundant

This commit is contained in:
Chris Sarbora 2024-07-30 01:29:50 -05:00
parent e152b5df70
commit 8d94450b7a
No known key found for this signature in database
2 changed files with 0 additions and 5 deletions

View File

@ -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);

View File

@ -146,7 +146,6 @@ static module *LoadOpenGLDLL(const char *dllname) {
#define DYNAEXTERN(Name) extern FnPtr<decltype(Name)> const d##Name
#endif
DYNAEXTERN(glAlphaFunc);
DYNAEXTERN(glBegin);
DYNAEXTERN(glBindTexture);
DYNAEXTERN(glBlendFunc);