MorphOS: disabled detectFramebufferSupport. added MorphOS doc
This commit is contained in:
parent
c969644d7f
commit
db3f152ca6
3 changed files with 75 additions and 1 deletions
|
@ -319,7 +319,7 @@ void OSystem_SDL::detectFramebufferSupport() {
|
|||
#if defined(USE_GLES2)
|
||||
// Framebuffers are always available with GLES2
|
||||
_supportsFrameBuffer = true;
|
||||
#elif !defined(AMIGAOS)
|
||||
#elif !defined(AMIGAOS) && !defined(__MORPHOS__)
|
||||
// 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