mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Fix apitrace shader compiler warning.
2418: message: major shader compiler issue 2: 0:3(311): warning: `atime' used uninitialized 2418 @0 glCompileShader(shader = 27) 2418: warning: 0:3(311): warning: `atime' used uninitialized
This commit is contained in:
parent
813c7ad1f7
commit
7526b12338
@ -24,7 +24,7 @@ static const char* stock_fragment_xmb_snowflake = GLSL(
|
||||
float snow(vec3 pos, vec2 uv, float o)
|
||||
{
|
||||
vec2 d = (pos.xy - uv);
|
||||
float a = atan(d.y,d.x) + sin(atime*1.0 + o) * 10.0;
|
||||
float a = atan(d.y,d.x) + sin(time*1.0 + o) * 10.0;
|
||||
|
||||
float dist = d.x*d.x + d.y*d.y;
|
||||
|
||||
@ -73,4 +73,4 @@ static const char* stock_fragment_xmb_snowflake = GLSL(
|
||||
gl_FragColor = vec4(col(p));
|
||||
}
|
||||
|
||||
);
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user