Changed clear colour back to white
authorSam Moore <[email protected]>
Thu, 2 Feb 2012 10:26:05 +0000 (18:26 +0800)
committerSam Moore <[email protected]>
Thu, 2 Feb 2012 10:26:05 +0000 (18:26 +0800)
Why did I make it black????

judge/manager/graphics.cpp

index 2aed851..7cc22d0 100644 (file)
@@ -215,7 +215,7 @@ void Graphics::Initialise(const char * caption, int newWidth, int newHeight)
 
        //COMES AFTER SETVIDEO MODE
        glEnable(GL_TEXTURE_2D);
 
        //COMES AFTER SETVIDEO MODE
        glEnable(GL_TEXTURE_2D);
-       glClearColor(0,0,0,0); //Set clear colour (white) here
+       glClearColor(1,1,1,0); //Set clear colour (white) here
        glViewport(0,0,screenWidth,screenHeight);       //DOES matter
        glClear(GL_COLOR_BUFFER_BIT);
        glMatrixMode(GL_PROJECTION);
        glViewport(0,0,screenWidth,screenHeight);       //DOES matter
        glClear(GL_COLOR_BUFFER_BIT);
        glMatrixMode(GL_PROJECTION);

UCC git Repository :: git.ucc.asn.au