removed comments about bug 723910 (ZImage draws wrong image) -- bug found elsewhere in client app source, not library

This commit is contained in:
James Turk 2003-06-02 02:16:57 +00:00
parent 0de1a7d8a9
commit 1620b33fa9
2 changed files with 3 additions and 5 deletions

View File

@ -13,7 +13,7 @@
\brief Central source file for ZEngine.
Actual implementation of ZEngine singleton class, the core of ZEngine.
<br>$Id: ZE_ZEngine.cpp,v 1.40 2003/05/13 01:31:30 cozman Exp $<br>
<br>$Id: ZE_ZEngine.cpp,v 1.41 2003/06/02 02:16:57 cozman Exp $<br>
\author James Turk
**/
@ -81,7 +81,7 @@ void ZEngine::ReleaseInstance()
string ZEngine::GetVersion()
{
return VERSION;
return VERSION_STR;
}
void ZEngine::SetupDisplay(int width, int height, int bpp, bool fullscreen)

View File

@ -13,7 +13,7 @@
\brief Source file for ZImage.
Implementation of ZImage, the Image class for ZEngine.
<br>$Id: ZE_ZImage.cpp,v 1.32 2003/05/13 01:31:30 cozman Exp $<br>
<br>$Id: ZE_ZImage.cpp,v 1.33 2003/06/02 02:16:57 cozman Exp $<br>
\author James Turk
**/
@ -145,7 +145,6 @@ void ZImage::Attach(SDL_Surface *surface)
rTexMaxX = coord[2];
rTexMaxY = coord[3];
rImage = surface;
//rEngine->WriteLog(FormatStr("Attached %d with ID %d",this,rTexID)); //log added for bug 723910 - ZImage Draws Wrong Image
}
else
rEngine->ReportError(ZERR_NOIMAGE,"Attach");
@ -162,7 +161,6 @@ void ZImage::Release()
{
if(glIsTexture(rTexID))
{
//rEngine->WriteLog(FormatStr("Releasing %d with ID %d",this,rTexID)); //log added for bug 723910 - ZImage Draws Wrong Image
glDeleteTextures(1,&rTexID);
}
rTexMinX = rTexMinY = rTexMaxX = rTexMaxY = 0.0f;