mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Oops, left the comment in the wrong one.
This commit is contained in:
1 parent
cee2827172
commit
67a54504c7
2 files changed
+2
-2
No files matched your search
@@ -720,7 +720,7 @@ void TransformDrawEngineDX9::ApplyDrawState(int prim) {
|
||||
|
||||
// This means that to get the analogue glViewport we must:
|
||||
float vpX0 = vpXCenter - offsetX - fabsf(vpXScale);
|
||||
float vpY0 = vpYCenter - offsetY - fabsf(vpYScale); // Need to account for sign of Y
|
||||
float vpY0 = vpYCenter - offsetY - fabsf(vpYScale);
|
||||
gstate_c.vpWidth = vpXScale * 2.0f;
|
||||
gstate_c.vpHeight = vpYScale * 2.0f;
|
||||
|
||||
|
||||
@@ -784,7 +784,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||
|
||||
// This means that to get the analogue glViewport we must:
|
||||
float vpX0 = vpXCenter - offsetX - fabsf(vpXScale);
|
||||
float vpY0 = vpYCenter - offsetY + fabsf(vpYScale);
|
||||
float vpY0 = vpYCenter - offsetY + fabsf(vpYScale); // Need to account for sign of Y
|
||||
gstate_c.vpWidth = vpXScale * 2.0f;
|
||||
gstate_c.vpHeight = -vpYScale * 2.0f;
|
||||
|
||||
|
||||
Reference in new issue
Block a user