Add support for OpenGLES 3.2

pull/541/head
terrabyte25 6 years ago committed by GitHub
parent 4d633fd3e6
commit b29476de58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -99,6 +99,9 @@ void GraphicsWindowSDL2::init()
if (ver && strcmp(ver, "2") == 0) {
major = 2;
minor = 0;
} else if (ver && strcmp(ver, "3") == 0) {
major = 3;
minor = 2;
}
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);

Loading…
Cancel
Save