- oops, I misplaced an endif in the Linux code

This commit is contained in:
Madame Rachelle 2020-01-22 05:54:59 -05:00
parent dbc8e63b8b
commit 47ba169150

View file

@ -476,14 +476,13 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
{ {
fb = new PolyFrameBuffer(nullptr, vid_fullscreen); fb = new PolyFrameBuffer(nullptr, vid_fullscreen);
} }
#endif
if (fb == nullptr) if (fb == nullptr)
{ {
fb = new OpenGLRenderer::OpenGLFrameBuffer(0, vid_fullscreen); fb = new OpenGLRenderer::OpenGLFrameBuffer(0, vid_fullscreen);
} }
return fb; return fb;
#endif
} }