AMIGAOS: Keep platform name continuity (#2643)

This commit is contained in:
Hubert Maier 2020-11-26 15:10:01 +01:00 committed by GitHub
parent 568572e2cc
commit e19d4e197b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 48 additions and 50 deletions

View file

@ -421,10 +421,10 @@ bool OpenGLSdlGraphics3dManager::createOrUpdateGLContext(uint gameWidth, uint ga
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
#else
// AmigaOS4's OpenGL implementation is close to 1.3. Until that changes we need
// The OpenGL implementation on AmigaOS4 is close to 1.3. Until that changes we need
// to use 1.3 as version or ScummVM will cease working at all on that platform.
// Profile Mask has to be 0 as well.
// This will be revised and removed once AmigaOS4 supports 2.x or OpenGLES2.
// This will be revised and removed once AmigaOS4 supports OpenGL 2.x or OpenGLES2.
#ifdef __amigaos4__
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);