color bleed

This commit is contained in:
James Turk 2003-01-07 05:44:32 +00:00
parent ae260fb373
commit cb103a4803
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,11 @@
ZEngine Version Log for Version 0.8.1
$Id: changelog.txt,v 1.20 2003/01/03 03:48:01 cozman Exp $
$Id: changelog.txt,v 1.21 2003/01/07 05:44:32 cozman Exp $
0.8.2
-Added \since option to documentation (Everything after 0.8.0 will be labeled with a version.)
-Added "desired framerate" code to ZEngine.
-Added "desired framerate" functionality into the test programs.
-Fixed OpenGL color bleed in ZRect.
0.8.1
-Added legal information for developers.

View File

@ -13,7 +13,7 @@
File: ZE_ZRect.cpp <br>
Description: Implementation source file for core ZEngine Rectangle Object. <br>
Author(s): James Turk <br>
$Id: ZE_ZRect.cpp,v 1.4 2002/12/29 06:52:07 cozman Exp $<br>
$Id: ZE_ZRect.cpp,v 1.5 2003/01/07 05:44:32 cozman Exp $<br>
\file ZE_ZRect.cpp
\brief Source file for ZRect.
@ -95,6 +95,7 @@ void ZRect::Draw(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha)
glVertex2f(rX+rWidth, rY+rHeight);
glVertex2f(rX, rY+rHeight);
glEnd();
glColor4ub(255,255,255,255);
}
void ZRect::Move(float x, float y)