diff --git a/source/platform/posix/sdl/sdlglvideo.cpp b/source/platform/posix/sdl/sdlglvideo.cpp index 82bab9a8d..7ada8520d 100644 --- a/source/platform/posix/sdl/sdlglvideo.cpp +++ b/source/platform/posix/sdl/sdlglvideo.cpp @@ -476,14 +476,13 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer () { fb = new PolyFrameBuffer(nullptr, vid_fullscreen); } - +#endif if (fb == nullptr) { fb = new OpenGLRenderer::OpenGLFrameBuffer(0, vid_fullscreen); } return fb; -#endif }