summaryrefslogtreecommitdiff
path: root/lib/sprite.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/sprite.cc
parentc3b798273403e6dc80245d43d3ae75be5e48946c (diff)
Having a better texture tainting solution, which will hopefully avoid texture mess when going fullscreen.
Diffstat (limited to 'lib/sprite.cc')
-rw-r--r--lib/sprite.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sprite.cc b/lib/sprite.cc
index bd0df94..bce6bf2 100644
--- a/lib/sprite.cc
+++ b/lib/sprite.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: sprite.cc,v 1.15 2004-11-27 21:48:03 pixel Exp $ */
+/* $Id: sprite.cc,v 1.16 2006-02-02 17:29:05 pixel Exp $ */
#include <SDL.h>
#include "engine.h"
@@ -85,6 +85,7 @@ void mogltk::Sprite::alloc() {
mogltk::Sprite::TexList::TexList(int size) {
tex = new texture(size, size, true);
+ tex->name = "Sprite texture.";
if (header)
header->prev = this;