diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-06-06 15:37:05 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-11-09 22:44:07 +0000 |
commit | d919b70841922087e1d85e6e293476f88c12cf83 (patch) | |
tree | 55493394a55ef5d41f2c0d9874d47fde417464ad /man | |
parent | 5ddc8bf2670d62712d2d3139c97528cc22380efa (diff) |
wgl: wire-up wgl_window and wgl_config hooks
WGL mandates that a window (device_context actually) must be
available before we choose the the config and create a context.
Create the window at wgl_config_choose() and hide it until
wgl_window_create() is executed.
Note that this will mandate 'only one window is allowed per config'
as such one should _never_ try to create two windows for a single
config with WGL.
To prevent issues, simply return NULL if we're trying to
create the second window.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Acked-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions