mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Changed the default OpenGL version from 4.6 to 3.3 when building for RetroDECK
This commit is contained in:
parent
a3946352c5
commit
9a9ef0e97b
|
@ -148,7 +148,7 @@ void RendererOpenGL::setup()
|
|||
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
|
||||
#else
|
||||
#if defined(STEAM_DECK) || defined(RETRODECK)
|
||||
#if defined(STEAM_DECK)
|
||||
if (glVersion == "3.3") {
|
||||
#else
|
||||
if (glVersion == "" || glVersion == "3.3") {
|
||||
|
@ -160,7 +160,7 @@ void RendererOpenGL::setup()
|
|||
mMajorGLVersion = 4;
|
||||
mMinorGLVersion = 2;
|
||||
}
|
||||
#if defined(STEAM_DECK) || defined(RETRODECK)
|
||||
#if defined(STEAM_DECK)
|
||||
else if (glVersion == "" || glVersion == "4.6") {
|
||||
#else
|
||||
else if (glVersion == "4.6") {
|
||||
|
@ -170,7 +170,7 @@ void RendererOpenGL::setup()
|
|||
}
|
||||
else {
|
||||
LOG(LogWarning) << "Unsupported OpenGL version \"" << glVersion
|
||||
#if defined(STEAM_DECK) || defined(RETRODECK)
|
||||
#if defined(STEAM_DECK)
|
||||
<< "\" requested, defaulting to 4.6 (valid versions are 3.3, 4.2 and 4.6)";
|
||||
mMajorGLVersion = 4;
|
||||
mMinorGLVersion = 6;
|
||||
|
|
Loading…
Reference in a new issue