I did not mean to commit that
This commit is contained in:
parent
a15447b232
commit
0843fc3741
@ -745,19 +745,6 @@ template <typename... Args>
|
||||
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"));
|
||||
|
Loading…
Reference in New Issue
Block a user