mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-11-23 08:19:54 +00:00
Update curvature.h
Fixed a type in line 108. Was calling max_scale(), should be calling maxscale()
This commit is contained in:
parent
56d13de9b8
commit
36c6c7bf78
@ -105,7 +105,7 @@ vec2 bkwtrans(vec2 xy)
|
|||||||
|
|
||||||
vec2 cgwg_warp(vec2 coord)
|
vec2 cgwg_warp(vec2 coord)
|
||||||
{
|
{
|
||||||
vec3 stretch = max_scale();
|
vec3 stretch = maxscale();
|
||||||
coord = (coord - vec2(0.5, 0.5))*aspect*stretch.z + stretch.xy;
|
coord = (coord - vec2(0.5, 0.5))*aspect*stretch.z + stretch.xy;
|
||||||
|
|
||||||
return (bkwtrans(coord) /
|
return (bkwtrans(coord) /
|
||||||
|
Loading…
Reference in New Issue
Block a user