mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
fix opengl warning
This commit is contained in:
parent
1f2e09da6e
commit
56a5e0b7d2
1 changed files with 4 additions and 4 deletions
|
|
@ -363,7 +363,7 @@ static struct ShaderProgram *gfx_opengl_create_and_load_new_shader(struct ColorC
|
|||
}
|
||||
|
||||
if ((opt_alpha && opt_dither) || ccf.do_noise) {
|
||||
append_line(fs_buf, &fs_len, "uniform float uFrameCount;");
|
||||
append_line(fs_buf, &fs_len, "uniform int uFrameCount;");
|
||||
|
||||
append_line(fs_buf, &fs_len, "float random(in vec3 value) {");
|
||||
append_line(fs_buf, &fs_len, " float random = dot(sin(value), vec3(12.9898, 78.233, 37.719));");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue