fixed 3 warnings...

One uninitalized var and 2 unused vars.

Kent
This commit is contained in:
Kent Mein 2003-01-24 05:52:25 +00:00
parent ffef850589
commit 16677d1f28

@ -271,14 +271,12 @@ static void View(GHOST_IWindow* window, bool stereo, int eye = 0)
{ {
window->activateDrawingContext(); window->activateDrawingContext();
GHOST_Rect bnds; GHOST_Rect bnds;
int noOfScanlines = 0, lowerScanline; int noOfScanlines = 0, lowerScanline = 0;
int verticalBlankingInterval = 32; // hard coded for testing purposes, display device dependant int verticalBlankingInterval = 32; // hard coded for testing purposes, display device dependant
float left, right, bottom, top; float left, right, bottom, top;
float nearplane, farplane, zeroPlane, distance; float nearplane, farplane, zeroPlane, distance;
float eyeSeparation = 0.62; float eyeSeparation = 0.62;
window->getClientBounds(bnds); window->getClientBounds(bnds);
GLfloat w = float(bnds.getWidth()) / float(bnds.getHeight());
GLfloat h = 1.0;
// viewport // viewport
if(stereo) if(stereo)