summaryrefslogtreecommitdiff
path: root/lib/base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.cc')
-rw-r--r--lib/base.cc3
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);