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