GLES SW: inline with HW using 0,0,1 ;

This commit is contained in:
raven02 committed 2013-08-27 16:52:17 +08:00
1 parent 87c1dc3dd9
commit d66f049d22
1 file changed
+2 -2
+2 -2
View File
@@ -604,7 +604,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw(
source = Vec3f(norm).Normalized();
} else {
ERROR_LOG_REPORT(G3D, "Normal projection mapping without normal?");
source = Vec3f::AssignToAll(0.0f);
source = Vec3f(0.0f, 0.0f, 1.0f);
}
break;
case GE_PROJMAP_NORMAL: // Use non-normalized normal as source!
@@ -612,7 +612,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw(
source = Vec3f(norm);
} else {
ERROR_LOG_REPORT(G3D, "Normal projection mapping without normal?");
source = Vec3f::AssignToAll(0.0f);
source = Vec3f(0.0f, 0.0f, 1.0f);
}
break;
}