From d20808b04feb328272a35ee2b03f4ae19db23fbe Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 20 Apr 2006 15:51:37 +0000 Subject: cleanup DEBUG code --- src/ivyglutloop.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/ivyglutloop.c') diff --git a/src/ivyglutloop.c b/src/ivyglutloop.c index a777a30..372c268 100755 --- a/src/ivyglutloop.c +++ b/src/ivyglutloop.c @@ -39,6 +39,7 @@ #include +#include "ivydebug.h" #include "ivychannel.h" #include "ivyglutloop.h" @@ -83,18 +84,14 @@ void IvyGlutChannelClose( Channel channel ) static void IvyGlutHandleChannelRead( int source, GLUTInputId id, void *data ) { Channel channel = (Channel)data; -#ifdef DEBUG - printf("Handle Channel read %d\n",source ); -#endif + TRACE("Handle Channel read %d\n",source ); (*channel->handle_read)(channel,source,channel->data); } static void IvyGlutHandleChannelDelete( int source, GLUTInputId id, void *data ) { Channel channel = (Channel)data; -#ifdef DEBUG - printf("Handle Channel delete %d\n",source ); -#endif + TRACE("Handle Channel delete %d\n",source ); (*channel->handle_delete)(channel->data); } -- cgit v1.1