Remove some unused code
parent
74b7f74f88
commit
b6112ae391
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue