mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
Merge branch 'develop' of github.com:SpartanJ/eepp into develop
This commit is contained in:
@@ -325,11 +325,9 @@ int WindowSDL::getCurrentDisplayIndex() const {
|
||||
}
|
||||
|
||||
std::string WindowSDL::getVersion() {
|
||||
int major = SDL_MAJOR_VERSION;
|
||||
int minor = SDL_MINOR_VERSION;
|
||||
int patch = SDL_MICRO_VERSION;
|
||||
|
||||
return String::format( "SDL %d.%d.%d", major, minor, patch );
|
||||
int ver = SDL_GetVersion();
|
||||
return String::format( "SDL %d.%d.%d", SDL_VERSIONNUM_MAJOR( ver ), SDL_VERSIONNUM_MINOR( ver ),
|
||||
SDL_VERSIONNUM_MICRO( ver ) );
|
||||
}
|
||||
|
||||
void WindowSDL::setGLConfig() {
|
||||
|
||||
Reference in New Issue
Block a user