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/glbase.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/glbase.cc') diff --git a/lib/glbase.cc b/lib/glbase.cc index 2edeec5..89b849a 100644 --- a/lib/glbase.cc +++ b/lib/glbase.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: glbase.cc,v 1.22 2004-11-27 21:48:03 pixel Exp $ */ +/* $Id: glbase.cc,v 1.23 2006-02-02 17:29:05 pixel Exp $ */ #include #include @@ -224,6 +224,7 @@ mogltk::texture * mogltk::glbase::GrabTexture() { int w = nextpower(GetWidth()); int h = nextpower(GetHeight()); texture * r = new texture(w, h); + r->name = "Texture grabbed."; SDL_Surface * t; t = GrabSurface(); -- cgit v1.2.3