diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-05-20 22:29:07 -0600 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-09-17 20:20:26 -0300 |
| commit | 69cfe9b2c44c54a5a2beaf004fe6ee7190efe05f (patch) | |
| tree | 9c930c25eba147f1264f1b77ae19aafb9e3ebe27 /src/port/ui/ResolutionEditor.cpp | |
| parent | 4c37fa43699a6be48577f3e9112eaa84d008223a (diff) | |
Fixed all remaining compilation issues
Diffstat (limited to 'src/port/ui/ResolutionEditor.cpp')
| -rw-r--r-- | src/port/ui/ResolutionEditor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/ui/ResolutionEditor.cpp b/src/port/ui/ResolutionEditor.cpp index 01995a3c..f28ae392 100644 --- a/src/port/ui/ResolutionEditor.cpp +++ b/src/port/ui/ResolutionEditor.cpp @@ -2,7 +2,7 @@ #include "UIWidgets.h" #include "libultraship/src/Context.h" -#include <ImGui/imgui.h> +#include <imgui.h> #include <libultraship/libultraship.h> #include <graphic/Fast3D/gfx_pc.h> @@ -40,7 +40,7 @@ namespace AdvancedResolutionSettings { const int pixelCountPresets[] = { 480, 240, 480, 720, 960, 1200, 1440, 1080, 2160, 480 }; const int default_pixelCount = 0; // Default combo list option - const uint32_t minVerticalPixelCount = 240; // see: LUS::AdvancedResolution() + const uint32_t minVerticalPixelCount = 240; // see: Ship::AdvancedResolution() const uint32_t maxVerticalPixelCount = 4320; const unsigned short default_maxIntegerScaleFactor = 6; // Default size of Integer scale factor slider. @@ -104,7 +104,7 @@ namespace AdvancedResolutionSettings { (CVarGetInteger("gAdvancedResolution.VerticalResolutionToggle", 0) && CVarGetInteger("gAdvancedResolution.Enabled", 0)) || CVarGetInteger("gLowResMode", 0))) { - LUS::Context::GetInstance()->GetWindow()->SetResolutionMultiplier(CVarGetFloat("gInternalResolution", 1)); + Ship::Context::GetInstance()->GetWindow()->SetResolutionMultiplier(CVarGetFloat("gInternalResolution", 1)); } UIWidgets::Tooltip("Multiplies your output resolution by the value entered, as a more intensive but effective " "form of anti-aliasing"); // Description pulled from SohMenuBar.cpp |
