AMIGAOS: Remove outdated ifdefs
We now link with OpenGL dynamically so symbols are provided by GLAD. If it's not supported pointer will be null. OGLES2 should support these functions so they must be removed
This commit is contained in:
parent
41638a09d1
commit
7061b4109e
4 changed files with 5 additions and 16 deletions
|
@ -328,7 +328,7 @@ void OSystem_SDL::detectOpenGLFeaturesSupport() {
|
|||
_oglType = OpenGL::kOGLContextGLES2;
|
||||
_supportsFrameBuffer = true;
|
||||
_supportsShaders = true;
|
||||
#elif !defined(AMIGAOS) && !defined(__MORPHOS__)
|
||||
#else
|
||||
// Spawn a 32x32 window off-screen with a GL context to test if framebuffers are supported
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
SDL_Window *window = SDL_CreateWindow("", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 32, 32, SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue