From 58d8064ce2beb470ed36ea6bf4b0ac5bed8d0079 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 2 Feb 2006 17:29:04 +0000 Subject: Having a better texture tainting solution, which will hopefully avoid texture mess when going fullscreen. --- lib/sprite.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sprite.cc') diff --git a/lib/sprite.cc b/lib/sprite.cc index bd0df94..bce6bf2 100644 --- a/lib/sprite.cc +++ b/lib/sprite.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: sprite.cc,v 1.15 2004-11-27 21:48:03 pixel Exp $ */ +/* $Id: sprite.cc,v 1.16 2006-02-02 17:29:05 pixel Exp $ */ #include #include "engine.h" @@ -85,6 +85,7 @@ void mogltk::Sprite::alloc() { mogltk::Sprite::TexList::TexList(int size) { tex = new texture(size, size, true); + tex->name = "Sprite texture."; if (header) header->prev = this; -- cgit v1.2.3