remove null idle callbk

This commit is contained in:
cxgeorge 2001-07-20 22:40:09 +00:00
parent e81638213c
commit 79dfaa7a9b
1 changed files with 1 additions and 2 deletions

View File

@ -153,9 +153,8 @@ ChanConfig make_graphics_window(GraphicsPipe *pipe,
WindowCallback *wcb =
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_idle_callback(wcb);
return chan_config;
}