mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
GLES SW: inline with HW using 0,0,1 ;
This commit is contained in:
1 parent
87c1dc3dd9
commit
d66f049d22
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user