Browse Source

Platform: improve documentation of redraw() function.

Make it clear that it's possible and non-harmful to call it from
drawEvent() itself.
pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
8adde55377
  1. 3
      src/Magnum/Platform/Sdl2Application.h

3
src/Magnum/Platform/Sdl2Application.h

@ -283,7 +283,8 @@ class Sdl2Application {
* @brief Redraw immediately
*
* Marks the window for redrawing, resulting in call to @ref drawEvent()
* in the next iteration.
* in the next iteration. You can call it from @ref drawEvent() itself
* to redraw immediately without waiting for user input.
*/
void redraw() { flags |= Flag::Redraw; }

Loading…
Cancel
Save