Problems w / SDL_WaitEvent() and OpenGL


im working on a map editor for my game w / C++, OpenGL and SDL. ive been
taking input by calling SDL_PollEvents(). this works fine, but since this is
a map editor and theres no background processes, id like to save that 99% of
the CPU power and wait for events rather then poll. but when i switch "Poll"
with “Wait”, it locks the program up. does anyone know if this works with
OpenGL, and if so, what am i doing wrong? is there something i have to do
special if im waiting for events ? thanks for any help!!_________________________________________________________________
Check out the latest news, polls and tools in the MSN 2004 Election Guide!