Remove some unused code

master
Per Inge Mathisen 2011-08-19 20:34:07 -04:00
parent 74b7f74f88
commit b6112ae391
2 changed files with 2 additions and 19 deletions

View File

@ -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 */

View File

@ -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;
}