From 0843fc3741ef978a736c59003975534d4031cd2a Mon Sep 17 00:00:00 2001 From: Bigjango13 Date: Sun, 30 Jun 2024 01:59:35 +0000 Subject: [PATCH] I did not mean to commit that --- mods/src/misc/misc.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mods/src/misc/misc.cpp b/mods/src/misc/misc.cpp index 336a89fe..752788c7 100644 --- a/mods/src/misc/misc.cpp +++ b/mods/src/misc/misc.cpp @@ -745,19 +745,6 @@ template static void nop(__attribute__((unused)) Args... args) { } -static GLfloat color[4] = {1.f, 0.f, 0.f, 1.f}; -HOOK(glFogfv, void, (GLenum pname, const GLfloat *params)) { - if (pname == GL_FOG_COLOR) { - params = color; - } - ensure_glFogfv(); - real_glFogfv(pname, params); -} -HOOK(glClearColor, void, (__attribute__((unused)) GLfloat red, __attribute__((unused)) GLfloat green, __attribute__((unused)) GLfloat blue, __attribute__((unused)) GLfloat alpha)) { - ensure_glClearColor(); - real_glClearColor(color[0], color[1], color[2], color[3]); -} - static void Language_injection() { // Fix language strings I18n::_strings.insert(std::make_pair("tile.waterStill.name", "Still Water"));