From 16677d1f28c982de57bdd2a7ad072d5b8a701220 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 24 Jan 2003 05:52:25 +0000 Subject: [PATCH] fixed 3 warnings... One uninitalized var and 2 unused vars. Kent --- intern/ghost/test/gears/GHOST_Test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)