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/base.cc | |
parent | c3b798273403e6dc80245d43d3ae75be5e48946c (diff) |
Having a better texture tainting solution, which will hopefully avoid texture mess when going fullscreen.
Diffstat (limited to 'lib/base.cc')
-rw-r--r-- | lib/base.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base.cc b/lib/base.cc index 85606c6..db0e77f 100644 --- a/lib/base.cc +++ b/lib/base.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: base.cc,v 1.15 2005-04-03 19:39:06 pixel Exp $ */ +/* $Id: base.cc,v 1.16 2006-02-02 17:29:05 pixel Exp $ */ #include <stdio.h> #include <SDL.h> @@ -151,6 +151,7 @@ mogltk::texture * mogltk::base::GrabTexture() { int w = nextpower(GetWidth()); int h = nextpower(GetHeight()); texture * r = new texture(w, h); + r->name = "texture grabbed"; SDL_BlitSurface(getsurface(), NULL, r->GetSurface(), NULL); |