Add note on event processing to context guide

This commit is contained in:
Camilla Berglund 2015-11-23 12:53:44 +01:00
parent 5c98a44603
commit 001761ed58

View File

@ -74,6 +74,9 @@ offscreen context. Depending on the window manager, the size of a hidden
window's framebuffer may not be usable or modifiable, so framebuffer window's framebuffer may not be usable or modifiable, so framebuffer
objects are recommended for rendering with such contexts. objects are recommended for rendering with such contexts.
You should still [process events](@ref events) as long as you have at least one
window, even if none of them are visible.
__OS X:__ The first time a window is created the menu bar is populated with __OS X:__ The first time a window is created the menu bar is populated with
common commands like Hide, Quit and About. This is not desirable for example common commands like Hide, Quit and About. This is not desirable for example
when writing a command-line only application. The menu bar setup can be when writing a command-line only application. The menu bar setup can be