mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
dglAlphaFunc(GL_GREATER, 0) is perfectly redundant
This commit is contained in:
parent
e152b5df70
commit
8d94450b7a
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user