Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2003-01-24 08:52:25 +0300
committerKent Mein <mein@cs.umn.edu>2003-01-24 08:52:25 +0300
commit16677d1f28c982de57bdd2a7ad072d5b8a701220 (patch)
treea5265fff69a82ddeb792828e2fbe0c090ff4407b /intern
parentffef8505891d41374c6182d9270bd67420177b7c (diff)
fixed 3 warnings...
One uninitalized var and 2 unused vars. Kent
Diffstat (limited to 'intern')
-rwxr-xr-xintern/ghost/test/gears/GHOST_Test.cpp4
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)