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) {
|
if (g_Config.bBufferedRendering) {
|
||||||
renderX = 0;
|
renderX = 0;
|
||||||
renderY = 0;
|
renderY = 0;
|
||||||
renderWidth = framebufferManager_->GetRenderWidth();
|
renderWidth = framebufferManager_->GetRenderWidth();
|
||||||
renderHeight = framebufferManager_->GetRenderHeight();
|
renderHeight = framebufferManager_->GetRenderHeight();
|
||||||
renderWidthFactor = (float)renderWidth / framebufferManager_->GetTargetWidth();
|
renderWidthFactor = (float)renderWidth / framebufferManager_->GetTargetWidth();
|
||||||
renderHeightFactor = (float)renderHeight / framebufferManager_->GetTargetHeight();
|
renderHeightFactor = (float)renderHeight / framebufferManager_->GetTargetHeight();
|
||||||
} else {
|
} 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
|
// This is a bit of a hack as the render buffer isn't always that size
|
||||||
if (scissorX1 == 0 && scissorY1 == 0 &&
|
if (scissorX1 == 0 && scissorY1 == 0 &&
|
||||||
scissorX2 >= gstate_c.curRTWidth - 1 &&
|
scissorX2 >= gstate_c.curRTWidth - 1 &&
|
||||||
scissorY2 >= gstate_c.curRTHeight - 1) {
|
scissorY2 >= gstate_c.curRTHeight - 1) {
|
||||||
glstate.scissorTest.disable();
|
glstate.scissorTest.disable();
|
||||||
} else {
|
} else {
|
||||||
glstate.scissorTest.enable();
|
glstate.scissorTest.enable();
|
||||||
|
|
Loading…
Add table
Reference in a new issue