[nostalgia/core/sdl] Reduce required GL version to 3.0
This commit is contained in:
parent
1750fa688a
commit
4cace9d8e0
@ -33,7 +33,7 @@ ox::Error initGfx(Context *ctx) {
|
||||
}
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 2);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
|
||||
id->renderer = SDL_GL_CreateContext(id->window);
|
||||
if (id->renderer == nullptr) {
|
||||
return OxError(1, SDL_GetError());
|
||||
|
Loading…
x
Reference in New Issue
Block a user