diff options
author | pixel <pixel> | 2006-02-02 17:29:04 +0000 |
---|---|---|
committer | pixel <pixel> | 2006-02-02 17:29:04 +0000 |
commit | 58d8064ce2beb470ed36ea6bf4b0ac5bed8d0079 (patch) | |
tree | 48356a8dd0edaf6c902947746272658f934c7fc1 /lib/shape.cc | |
parent | c3b798273403e6dc80245d43d3ae75be5e48946c (diff) |
Having a better texture tainting solution, which will hopefully avoid texture mess when going fullscreen.
Diffstat (limited to 'lib/shape.cc')
-rw-r--r-- | lib/shape.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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 <math.h> #include <limits.h> @@ -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; } |