Update to SDL3 (#1283)

This commit is contained in:
Gustavo Ribeiro Croscato
2026-08-22 12:09:53 -04:00
committed by GitHub
parent 75ceaec54e
commit a8cc0ec12a
68 changed files with 786 additions and 704 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#include <SDL.h>
#include <SDL3/SDL.h>
#include "ActionSets.h"
#include "ButtonGlyphs.h"
@@ -1873,7 +1873,7 @@ static void menurender(void)
{
if (game.currentmenuoption == 1)
{
if (SDL_GetHintBoolean("SteamDeck", SDL_FALSE))
if (SDL_GetHintBoolean("SteamDeck", false))
{
font::print_wrap(PR_CEN, -1, 180, loc::gettext("The level editor is not currently supported on Steam Deck, as it requires a keyboard and mouse to use."), tr, tg, tb);
}