From 4cace9d8e028068af23255fc9bc0b4390d62fcc0 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 28 Mar 2021 03:47:38 -0500 Subject: [PATCH] [nostalgia/core/sdl] Reduce required GL version to 3.0 --- src/nostalgia/core/sdl/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/core/sdl/gfx.cpp b/src/nostalgia/core/sdl/gfx.cpp index 6e1e6981..f76a63c2 100644 --- a/src/nostalgia/core/sdl/gfx.cpp +++ b/src/nostalgia/core/sdl/gfx.cpp @@ -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());