mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
unknownbrackets' fixes for last commit
This commit is contained in:
parent
3a7edd8cac
commit
a1ad278005
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user