summaryrefslogtreecommitdiff
path: root/lib/texture.cc
diff options
context:
space:
mode:
authorpixel <pixel>2006-02-02 14:09:49 +0000
committerpixel <pixel>2006-02-02 14:09:49 +0000
commitc3b798273403e6dc80245d43d3ae75be5e48946c (patch)
treea6ee9fc26ef8a44b1fd0c091fe7ae827715d2897 /lib/texture.cc
parent14e347007a2af81f2aa05b501e31a241b1a97ca9 (diff)
Removing a lot of warnings, as well as a bunch of terrible bugs!
Diffstat (limited to 'lib/texture.cc')
-rw-r--r--lib/texture.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/texture.cc b/lib/texture.cc
index b94882a..45e9f3b 100644
--- a/lib/texture.cc
+++ b/lib/texture.cc
@@ -17,7 +17,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: texture.cc,v 1.12 2006-01-31 17:02:39 pixel Exp $ */
+/* $Id: texture.cc,v 1.13 2006-02-02 14:09:49 pixel Exp $ */
+
+#define DEBUG
#include <sys/types.h>
#include <SDL.h>
@@ -363,6 +365,7 @@ void mogltk::texture::Taint(void) {
}
void mogltk::texture::Taintall(void) {
+ active = 0;
if (header)
header->recTaint();
}