diff --git a/src/nostalgia/modules/core/src/opengl/gfx.cpp b/src/nostalgia/modules/core/src/opengl/gfx.cpp index a47e2ddc..30b20b44 100644 --- a/src/nostalgia/modules/core/src/opengl/gfx.cpp +++ b/src/nostalgia/modules/core/src/opengl/gfx.cpp @@ -73,8 +73,8 @@ constexpr ox::CStringView spritevshadTmpl = R"glsl( float xScaleInvert = 1.0 - vXScale; gl_Position = vec4( vPosition.x * vXScale - xScaleInvert, vPosition.y, - vPosition.z, 1.0); - fTexCoord = vTexCoord * vec2(1, vTileHeight) * vec2(vEnabled, vEnabled); + vPosition.z, 1.0) * vEnabled; + fTexCoord = vTexCoord * vec2(1, vTileHeight); })glsl"; constexpr ox::CStringView spritefshadTmpl = R"glsl(