mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-11 16:49:27 +01:00
[spline/bezier]Fix to avoid temporarily texture animation bug with hardware tessellation.
This commit is contained in:
1 parent
58f731d734
commit
3ecff41908
1 file changed
+3
-1
@@ -787,7 +787,9 @@ void GenerateVertexShader(const ShaderID &id, char *buffer) {
|
||||
if (scaleUV) {
|
||||
if (hasTexcoord) {
|
||||
if (doBezier || doSpline)
|
||||
WRITE(p, " v_texcoord = tex * u_uvscaleoffset.xy;\n");
|
||||
// TODO: Need fix?
|
||||
// Fix to avoid temporarily texture animation bug with hardware tessellation.
|
||||
WRITE(p, " v_texcoord = tex * u_uvscaleoffset.xy + u_uvscaleoffset.zw;\n");
|
||||
else
|
||||
WRITE(p, " v_texcoord = texcoord * u_uvscaleoffset.xy;\n");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user