Disable "resize to pixel-perfect" when maximized

This improves consistency and will simplify further refactors.
This commit is contained in:
Romain Vimont
2025-12-30 22:06:36 +01:00
parent 9f67f021c0
commit 324e23d577
3 changed files with 1 additions and 18 deletions

View File

@@ -130,15 +130,6 @@ sc_sdl_hide_window(SDL_Window *window) {
}
}
void
sc_sdl_restore_window(SDL_Window *window) {
bool ok = SDL_RestoreWindow(window);
if (!ok) {
LOGE("Could not restore window: %s", SDL_GetError());
assert(!"unexpected");
}
}
bool
sc_sdl_render_clear(SDL_Renderer *renderer) {
bool ok = SDL_RenderClear(renderer);

View File

@@ -34,9 +34,6 @@ sc_sdl_show_window(SDL_Window *window);
void
sc_sdl_hide_window(SDL_Window *window);
void
sc_sdl_restore_window(SDL_Window *window);
bool
sc_sdl_render_clear(SDL_Renderer *renderer);