mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-13 05:00:55 +00:00
d3d9: Fix shader compile error X3014.
This commit is contained in:
parent
4210ba44eb
commit
9355322824
@ -526,7 +526,7 @@ void GenerateVertexShaderDX9(int prim, char *buffer, bool useHWTransform) {
|
|||||||
if (hasTexcoord) {
|
if (hasTexcoord) {
|
||||||
WRITE(p, " Out.v_texcoord = In.texcoord;\n");
|
WRITE(p, " Out.v_texcoord = In.texcoord;\n");
|
||||||
} else {
|
} else {
|
||||||
WRITE(p, " Out.v_texcoord = float2(0.0);\n");
|
WRITE(p, " Out.v_texcoord = float2(0.0, 0.0);\n");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (hasTexcoord) {
|
if (hasTexcoord) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user