mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 15:40:35 +00:00
Merge pull request #6429 from orbea/snow
Fix apitrace shader compiler warning.
This commit is contained in:
commit
4fa50d14ea
@ -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