mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Buildfix, remove redundant variable
This commit is contained in:
@@ -111,7 +111,7 @@ public:
|
||||
void Layout() override;
|
||||
};
|
||||
|
||||
const float NONE = -FLT_MAX;
|
||||
constexpr float NONE = -FLT_MAX;
|
||||
|
||||
enum class Centering {
|
||||
None = 0,
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <cfloat>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/Data/Collections/Hashmaps.h"
|
||||
|
||||
@@ -559,8 +559,6 @@ DepthScaleFactors GetDepthScaleFactors(u32 useFlags) {
|
||||
}
|
||||
|
||||
void ConvertViewportAndScissor(const DisplayLayoutConfig &config, bool useBufferedRendering, float renderWidth, float renderHeight, int bufferWidth, int bufferHeight, ViewportAndScissor &out) {
|
||||
out.throughMode = gstate.isModeThrough();
|
||||
|
||||
float renderWidthFactor, renderHeightFactor;
|
||||
float renderX = 0.0f, renderY = 0.0f;
|
||||
float displayOffsetX, displayOffsetY;
|
||||
|
||||
@@ -76,7 +76,6 @@ struct ViewportAndScissor {
|
||||
float viewportY;
|
||||
float viewportW;
|
||||
float viewportH;
|
||||
bool throughMode;
|
||||
};
|
||||
|
||||
// config is only used for non-buffered rendering.
|
||||
|
||||
Reference in New Issue
Block a user