Made it actually run on OpenGL 4.1 and 4.2

This commit is contained in:
korenkonder
2025-04-27 01:31:06 +03:00
parent 235cf64721
commit 50bed20be2
4 changed files with 32 additions and 17 deletions
+1 -1
View File
@@ -3080,8 +3080,8 @@ void EffectRipple::clear_tex() {
v5 = 0.5f;
}
glClearColor(0.0f, 0.0f, 0.0f, v5);
rt->Bind(gl_state);
glClearColor(0.0f, 0.0f, 0.0f, v5);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
gl_state.bind_framebuffer(0);
}