From 791cdcb3088d677ee3a0b551c5cd0f1d7b408954 Mon Sep 17 00:00:00 2001 From: Chris Sarbora Date: Wed, 31 Jul 2024 23:38:57 -0500 Subject: [PATCH] eliminate hints to things the shader does now --- renderer/HardwareOpenGL.cpp | 4 ---- renderer/dyna_gl.h | 1 - 2 files changed, 5 deletions(-) diff --git a/renderer/HardwareOpenGL.cpp b/renderer/HardwareOpenGL.cpp index ff446cc2..b6f758e7 100644 --- a/renderer/HardwareOpenGL.cpp +++ b/renderer/HardwareOpenGL.cpp @@ -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); diff --git a/renderer/dyna_gl.h b/renderer/dyna_gl.h index 91cc2ece..0b52f4df 100644 --- a/renderer/dyna_gl.h +++ b/renderer/dyna_gl.h @@ -168,7 +168,6 @@ DYNAEXTERN(glGetShaderiv); DYNAEXTERN(glGetString); DYNAEXTERN(glGetStringi); DYNAEXTERN(glGetUniformLocation); -DYNAEXTERN(glHint); DYNAEXTERN(glLinkProgram); DYNAEXTERN(glPixelStorei); DYNAEXTERN(glPolygonOffset);