From 586ecd6d9fbd6189eb94cd6650dc40ca2fd1ffb8 Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 7 Jan 2003 06:11:26 +0000 Subject: [PATCH] fixed ZRect/ZImage problems --- src/ZE_ZImage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ZE_ZImage.cpp b/src/ZE_ZImage.cpp index 1e4e79d..75924cf 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.11 2002/12/29 07:09:44 cozman Exp $
+$Id: ZE_ZImage.cpp,v 1.12 2003/01/07 06:11:26 cozman Exp $
\file ZE_ZImage.cpp \brief Source file for ZImage. @@ -204,6 +204,7 @@ void ZImage::Draw(float x, float y) glTexCoord2f(rTexMinX,rTexMaxY); glVertex2f(x,y+rHeight); glTexCoord2f(rTexMaxX,rTexMaxY); glVertex2f(x+rWidth,y+rHeight); glEnd(); + glBindTexture(GL_TEXTURE_2D,0); //reset to blank texture } void ZImage::DrawRotated(int x, int y, float angle)