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/shape.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/shape.cc') diff --git a/lib/shape.cc b/lib/shape.cc index 7a3312a..63b0920 100644 --- a/lib/shape.cc +++ b/lib/shape.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: shape.cc,v 1.20 2005-12-01 13:48:12 pixel Exp $ */ +/* $Id: shape.cc,v 1.21 2006-02-02 17:29:05 pixel Exp $ */ #include #include @@ -177,6 +177,7 @@ mogltk::texture * mogltk::fill::Talloc() { for (y = 1; y <= (maxY - minY); y <<= 1); cached = new texture(x, y, true); + cached->name = "Fill-texture - cached"; return cached; } @@ -190,6 +191,7 @@ mogltk::texture * mogltk::fill::STalloc() { for (y = 1; y <= (maxY - minY); y <<= 1); scached = new texture(x, y, true); + cached->name = "Fill-texture - scached"; return scached; } -- cgit v1.2.3