copy constructor

This commit is contained in:
James Turk 2003-01-24 02:47:06 +00:00
parent 5e1d40b40f
commit 7ff8d5bfdd
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
File: ZE_ZImage.h <br> File: ZE_ZImage.h <br>
Description: Header file for core ZEngine Image and Texture Object. <br> Description: Header file for core ZEngine Image and Texture Object. <br>
Author(s): James Turk, Gamer Tazar <br> Author(s): James Turk, Gamer Tazar <br>
$Id: ZE_ZImage.h,v 1.9 2003/01/18 22:22:37 cozman Exp $<br> $Id: ZE_ZImage.h,v 1.10 2003/01/24 02:47:06 cozman Exp $<br>
\file ZE_ZImage.h \file ZE_ZImage.h
\brief Definition file for ZImage. \brief Definition file for ZImage.
@ -69,7 +69,7 @@ class ZImage : public ZObject
Creates one ZImage using another. Creates one ZImage using another.
\param rhs A previously created ZImage to copy. \param rhs A previously created ZImage to copy.
**/ **/
ZImage::ZImage(const ZImage &rhs); ZImage(const ZImage &rhs);
/*! /*!
\brief Constructor to Construct from File. \brief Constructor to Construct from File.

View File

@ -13,7 +13,7 @@
File: ZE_ZImage.cpp <br> File: ZE_ZImage.cpp <br>
Description: Implementation source file for core ZEngine Image or Texture Object. <br> Description: Implementation source file for core ZEngine Image or Texture Object. <br>
Author(s): James Turk, Gamer Tazar <br> Author(s): James Turk, Gamer Tazar <br>
$Id: ZE_ZImage.cpp,v 1.16 2003/01/24 02:47:06 cozman Exp $<br> $Id: ZE_ZImage.cpp,v 1.17 2003/01/24 02:49:24 cozman Exp $<br>
\file ZE_ZImage.cpp \file ZE_ZImage.cpp
\brief Source file for ZImage. \brief Source file for ZImage.
@ -101,7 +101,7 @@ void ZImage::Attach(SDL_Surface *surface)
{ {
GLfloat coord[4]; GLfloat coord[4];
Release(); //avoid most memory leaks Release(); //avoid most user inflicted memory leaks
if(surface) if(surface)
{ {