Compare commits
No commits in common. "752f2ebe2c1191b95e99d1e2dbab39cbda9f4391" and "5356e5908818a832ff872c4565c1771055f4b677" have entirely different histories.
752f2ebe2c
...
5356e59088
@ -11,7 +11,6 @@
|
||||
#include "./sys_check.hpp"
|
||||
|
||||
#include "./start_screen.hpp"
|
||||
#include "SDL3/SDL_video.h"
|
||||
|
||||
#include <filesystem>
|
||||
#include <memory>
|
||||
@ -52,7 +51,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
// more RAII
|
||||
std::unique_ptr<SDL_Window, decltype(&SDL_DestroyWindow)> window {
|
||||
SDL_CreateWindow("tomato", 1280, 720, SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY),
|
||||
SDL_CreateWindow("tomato", 1280, 720, SDL_WINDOW_RESIZABLE),
|
||||
&SDL_DestroyWindow
|
||||
};
|
||||
|
||||
|
@ -50,12 +50,6 @@ StartScreen::StartScreen(const std::vector<std::string_view>& args, SDL_Renderer
|
||||
}
|
||||
}
|
||||
|
||||
{ // seed tox save path
|
||||
if (_conf.has_string("tox", "save_file_path")) {
|
||||
_tox_profile_path = _conf.get_string("tox", "save_file_path").value();
|
||||
}
|
||||
}
|
||||
|
||||
float display_scale = SDL_GetWindowDisplayScale(SDL_GetRenderWindow(renderer));
|
||||
if (display_scale < 0.001f) {
|
||||
// error?
|
||||
|
Loading…
Reference in New Issue
Block a user