diff --git a/intern/ghost/test/gears/GHOST_Test.cpp b/intern/ghost/test/gears/GHOST_Test.cpp index 5c030931162..95fd0772269 100755 --- a/intern/ghost/test/gears/GHOST_Test.cpp +++ b/intern/ghost/test/gears/GHOST_Test.cpp @@ -271,14 +271,12 @@ static void View(GHOST_IWindow* window, bool stereo, int eye = 0) { window->activateDrawingContext(); GHOST_Rect bnds; - int noOfScanlines = 0, lowerScanline; + int noOfScanlines = 0, lowerScanline = 0; int verticalBlankingInterval = 32; // hard coded for testing purposes, display device dependant float left, right, bottom, top; float nearplane, farplane, zeroPlane, distance; float eyeSeparation = 0.62; window->getClientBounds(bnds); - GLfloat w = float(bnds.getWidth()) / float(bnds.getHeight()); - GLfloat h = 1.0; // viewport if(stereo)