fixed accidentally leak in last submit
This commit is contained in:
parent
7ff8d5bfdd
commit
5cf911cfe7
@ -13,7 +13,7 @@
|
||||
File: ZE_ZImage.cpp <br>
|
||||
Description: Implementation source file for core ZEngine Image or Texture Object. <br>
|
||||
Author(s): James Turk, Gamer Tazar <br>
|
||||
$Id: ZE_ZImage.cpp,v 1.17 2003/01/24 02:49:24 cozman Exp $<br>
|
||||
$Id: ZE_ZImage.cpp,v 1.18 2003/01/24 02:50:19 cozman Exp $<br>
|
||||
|
||||
\file ZE_ZImage.cpp
|
||||
\brief Source file for ZImage.
|
||||
@ -107,7 +107,7 @@ void ZImage::Attach(SDL_Surface *surface)
|
||||
{
|
||||
rWidth = surface->w;
|
||||
rHeight = surface->h;
|
||||
rTexID = SDL_GL_LoadTexture(SDL_DisplayFormat(surface),coord);
|
||||
rTexID = SDL_GL_LoadTexture(surface,coord);
|
||||
rTexMinX = coord[0];
|
||||
rTexMinY = coord[1];
|
||||
rTexMaxX = coord[2];
|
||||
|
Loading…
Reference in New Issue
Block a user