Browse Source

remove null idle callbk

cxgeorge 24 years ago
parent
commit
79dfaa7a9b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      direct/src/showbase/showBase.cxx

+ 1 - 2
direct/src/showbase/showBase.cxx

@@ -153,9 +153,8 @@ ChanConfig make_graphics_window(GraphicsPipe *pipe,
   WindowCallback *wcb =
   WindowCallback *wcb =
     new WindowCallback(pipe, render, &initial_state);
     new WindowCallback(pipe, render, &initial_state);
 
 
-  // Set draw and idle callbacks
+  // Set draw callback.  Currently there is no reason to use the idle callback.
   main_win->set_draw_callback(wcb);
   main_win->set_draw_callback(wcb);
-  main_win->set_idle_callback(wcb);
 
 
   return chan_config;
   return chan_config;
 }
 }