From 5cf911cfe7b50c4f2ae1f47d80368775338c38c0 Mon Sep 17 00:00:00 2001 From: James Turk Date: Fri, 24 Jan 2003 02:50:19 +0000 Subject: [PATCH] fixed accidentally leak in last submit --- src/ZE_ZImage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZE_ZImage.cpp b/src/ZE_ZImage.cpp index c3b57ce..053cc96 100644 --- a/src/ZE_ZImage.cpp +++ b/src/ZE_ZImage.cpp @@ -13,7 +13,7 @@ File: ZE_ZImage.cpp
Description: Implementation source file for core ZEngine Image or Texture Object.
Author(s): James Turk, Gamer Tazar
-$Id: ZE_ZImage.cpp,v 1.17 2003/01/24 02:49:24 cozman Exp $
+$Id: ZE_ZImage.cpp,v 1.18 2003/01/24 02:50:19 cozman Exp $
\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];