diff options
author | Kent Mein <mein@cs.umn.edu> | 2003-01-24 08:52:25 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2003-01-24 08:52:25 +0300 |
commit | 16677d1f28c982de57bdd2a7ad072d5b8a701220 (patch) | |
tree | a5265fff69a82ddeb792828e2fbe0c090ff4407b /intern/ghost/test | |
parent | ffef8505891d41374c6182d9270bd67420177b7c (diff) |
fixed 3 warnings...
One uninitalized var and 2 unused vars.
Kent
Diffstat (limited to 'intern/ghost/test')
-rwxr-xr-x | intern/ghost/test/gears/GHOST_Test.cpp | 4 |
1 files changed, 1 insertions, 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) |