Merge branch 'develop' of github.com:SpartanJ/eepp into develop

This commit is contained in:
Martín Lucas Golini
2026-09-04 19:48:17 -03:00
+3 -5
View File
@@ -325,11 +325,9 @@ int WindowSDL::getCurrentDisplayIndex() const {
} }
std::string WindowSDL::getVersion() { std::string WindowSDL::getVersion() {
int major = SDL_MAJOR_VERSION; int ver = SDL_GetVersion();
int minor = SDL_MINOR_VERSION; return String::format( "SDL %d.%d.%d", SDL_VERSIONNUM_MAJOR( ver ), SDL_VERSIONNUM_MINOR( ver ),
int patch = SDL_MICRO_VERSION; SDL_VERSIONNUM_MICRO( ver ) );
return String::format( "SDL %d.%d.%d", major, minor, patch );
} }
void WindowSDL::setGLConfig() { void WindowSDL::setGLConfig() {