mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 19:13:40 +01:00
unknownbrackets' fixes for last commit
This commit is contained in:
1 parent
3a7edd8cac
commit
a1ad278005
1 file changed
+2
-2
@@ -890,9 +890,9 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||
}
|
||||
|
||||
if (useBufferedRendering) {
|
||||
glstate.viewport.set(left + displayOffsetX, displayOffsetY + (renderHeight - top), right - left, top - bottom);
|
||||
glstate.viewport.set(left + displayOffsetX, displayOffsetY + top, right - left, bottom - top);
|
||||
} else {
|
||||
glstate.viewport.set(left + displayOffsetX, displayOffsetY + bottom, right - left, top - bottom);
|
||||
glstate.viewport.set(left + displayOffsetX, displayOffsetY + (renderHeight - bottom), right - left, bottom - top);
|
||||
}
|
||||
|
||||
float zScale = gstate.getViewportZScale();
|
||||
|
||||
Reference in new issue
Block a user