Buildfix, remove redundant variable

This commit is contained in:
Henrik Rydgård
2026-05-28 01:34:19 +02:00
parent 5ad24adc93
commit d849db6be5
4 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ public:
void Layout() override;
};
const float NONE = -FLT_MAX;
constexpr float NONE = -FLT_MAX;
enum class Centering {
None = 0,
+1
View File
@@ -19,6 +19,7 @@
#include <vector>
#include <algorithm>
#include <cfloat>
#include "Common/CommonTypes.h"
#include "Common/Data/Collections/Hashmaps.h"
-2
View File
@@ -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;
-1
View File
@@ -76,7 +76,6 @@ struct ViewportAndScissor {
float viewportY;
float viewportW;
float viewportH;
bool throughMode;
};
// config is only used for non-buffered rendering.