summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/texture.cc5
-rw-r--r--lib/widgets.cc3
2 files changed, 5 insertions, 3 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();
}
diff --git a/lib/widgets.cc b/lib/widgets.cc
index 2cc7295..5d565d6 100644
--- a/lib/widgets.cc
+++ b/lib/widgets.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: widgets.cc,v 1.19 2006-02-02 11:01:13 pixel Exp $ */
+/* $Id: widgets.cc,v 1.20 2006-02-02 14:09:49 pixel Exp $ */
#include <SDL.h>
#include <vector>
@@ -907,7 +907,6 @@ mogltk::rect mogltk::widgets::Frame::GetDrawRect() {
void mogltk::widget::mainloop() {
bool end_event_loop = false;
widget_mouse_event * mouse = new widget_mouse_event(this);
- widget * w;
int mx, my;
while (!end_event_loop && !engine::quitrequested()) {