mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
eliminate hints to things the shader does now
This commit is contained in:
parent
256898dfc6
commit
791cdcb308
@ -336,8 +336,6 @@ void opengl_SetDefaults() {
|
||||
OpenGL_last_bound[1] = 9999999;
|
||||
OpenGL_multitexture_state = false;
|
||||
|
||||
dglHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
|
||||
dglHint(GL_FOG_HINT, GL_NICEST);
|
||||
dglEnable(GL_SCISSOR_TEST);
|
||||
dglScissor(0, 0, gpu_state.screen_width, gpu_state.screen_height);
|
||||
dglDisable(GL_SCISSOR_TEST);
|
||||
@ -346,8 +344,6 @@ void opengl_SetDefaults() {
|
||||
gpu_BindTexture(BAD_BITMAP_HANDLE, MAP_TYPE_BITMAP, 1);
|
||||
|
||||
dglActiveTextureARB(GL_TEXTURE0_ARB + 1);
|
||||
dglHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
|
||||
dglHint(GL_FOG_HINT, GL_NICEST);
|
||||
gRenderer->setTextureEnabled(1, false);
|
||||
dglEnable(GL_BLEND);
|
||||
dglEnable(GL_DITHER);
|
||||
|
@ -168,7 +168,6 @@ DYNAEXTERN(glGetShaderiv);
|
||||
DYNAEXTERN(glGetString);
|
||||
DYNAEXTERN(glGetStringi);
|
||||
DYNAEXTERN(glGetUniformLocation);
|
||||
DYNAEXTERN(glHint);
|
||||
DYNAEXTERN(glLinkProgram);
|
||||
DYNAEXTERN(glPixelStorei);
|
||||
DYNAEXTERN(glPolygonOffset);
|
||||
|
Loading…
Reference in New Issue
Block a user