diff --git a/lib/framework/frame.cpp b/lib/framework/frame.cpp index 1d84dde80..2a2336cb5 100644 --- a/lib/framework/frame.cpp +++ b/lib/framework/frame.cpp @@ -143,20 +143,7 @@ bool frameInitialise() if (!screenInitialise()) { -/* FIX ME for QT! - if (fullScreen) - { - info("Trying windowed mode now."); - if (!screenInitialise(width, height, bitDepth, fsaa, false, vsync)) - { return false; - } - } - else - { - return false; - } -*/ } /* Initialise the input system */ diff --git a/lib/ivis_opengl/screen.cpp b/lib/ivis_opengl/screen.cpp index 0b5475b3e..24d788970 100644 --- a/lib/ivis_opengl/screen.cpp +++ b/lib/ivis_opengl/screen.cpp @@ -158,15 +158,12 @@ bool screenInitialise() return true; } - -/* Release the DD objects */ void screenShutDown(void) { - glClearColor(0.0f, 0.0f, 0.0f, 1.0f); - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_ACCUM_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); + glClearColor(0.0f, 0.0f, 0.0f, 1.0f); + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_ACCUM_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); } - void screen_SetBackDropFromFile(const char* filename) { // HACK : We should use a resource handler here! @@ -448,4 +445,3 @@ void screenDumpToDisk(const char* path) } screendump_required = true; } -