summaryrefslogtreecommitdiff
path: root/lib/glbase.cc
diff options
context:
space:
mode:
authorpixel <pixel>2006-02-02 17:29:04 +0000
committerpixel <pixel>2006-02-02 17:29:04 +0000
commit58d8064ce2beb470ed36ea6bf4b0ac5bed8d0079 (patch)
tree48356a8dd0edaf6c902947746272658f934c7fc1 /lib/glbase.cc
parentc3b798273403e6dc80245d43d3ae75be5e48946c (diff)
Having a better texture tainting solution, which will hopefully avoid texture mess when going fullscreen.
Diffstat (limited to 'lib/glbase.cc')
-rw-r--r--lib/glbase.cc3
1 files changed, 2 insertions, 1 deletions
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 <stdio.h>
#include <SDL.h>
@@ -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();