mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
spacing fix
This commit is contained in:
parent
0b6a762c1b
commit
ada37f06cb
1 changed files with 4 additions and 4 deletions
|
@ -238,8 +238,8 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
|||
if (g_Config.bBufferedRendering) {
|
||||
renderX = 0;
|
||||
renderY = 0;
|
||||
renderWidth = framebufferManager_->GetRenderWidth();
|
||||
renderHeight = framebufferManager_->GetRenderHeight();
|
||||
renderWidth = framebufferManager_->GetRenderWidth();
|
||||
renderHeight = framebufferManager_->GetRenderHeight();
|
||||
renderWidthFactor = (float)renderWidth / framebufferManager_->GetTargetWidth();
|
||||
renderHeightFactor = (float)renderHeight / framebufferManager_->GetTargetHeight();
|
||||
} else {
|
||||
|
@ -261,8 +261,8 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
|||
|
||||
// This is a bit of a hack as the render buffer isn't always that size
|
||||
if (scissorX1 == 0 && scissorY1 == 0 &&
|
||||
scissorX2 >= gstate_c.curRTWidth - 1 &&
|
||||
scissorY2 >= gstate_c.curRTHeight - 1) {
|
||||
scissorX2 >= gstate_c.curRTWidth - 1 &&
|
||||
scissorY2 >= gstate_c.curRTHeight - 1) {
|
||||
glstate.scissorTest.disable();
|
||||
} else {
|
||||
glstate.scissorTest.enable();
|
||||
|
|
Loading…
Add table
Reference in a new issue