Oops, don't affect hardware transform.

This commit is contained in:
Unknown W. Brackets 2015-03-08 14:19:44 -07:00
parent c7984dd93e
commit 83e4edbc7c

View file

@ -232,7 +232,7 @@ void GenerateVertexShaderDX9(int prim, char *buffer, bool useHWTransform) {
WRITE(p, "%s", boneWeightAttrDecl[TranslateNumBones(vertTypeGetNumBoneWeights(vertType))]);
}
if (doTexture && hasTexcoord) {
if (doTextureProjection && !throughmode)
if (doTextureProjection)
WRITE(p, " float3 texcoord : TEXCOORD0;\n");
else
WRITE(p, " float2 texcoord : TEXCOORD0;\n");