fixed 3 warnings...
authorKent Mein <mein@cs.umn.edu>
Fri, 24 Jan 2003 05:52:25 +0000 (05:52 +0000)
committerKent Mein <mein@cs.umn.edu>
Fri, 24 Jan 2003 05:52:25 +0000 (05:52 +0000)
One uninitalized var and 2 unused vars.

Kent

intern/ghost/test/gears/GHOST_Test.cpp

index 5c03093116221f0143a02f1044e5b99a8146901d..95fd0772269dbce4b73552f1d905845c011046f8 100755 (executable)
@@ -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)