diff options
author | fclem <foucault.clem@gmail.com> | 2018-04-26 12:49:47 +0300 |
---|---|---|
committer | fclem <foucault.clem@gmail.com> | 2018-04-26 12:49:47 +0300 |
commit | e0c088f8fb5afcb2dd70d7a6c275fd942f6e42a9 (patch) | |
tree | 4abf6d3811409b90ce6f0164b11ec6f79bddcd77 /source | |
parent | 7fcdccbb6c42e8d4a2b5804e87698750460caaea (diff) |
GHOST: WGL: Make background rendering works on windows.
When creating an offscreen context we need wglCreatePbufferARB to create
a drawable. In non-background mode wglCreatePbufferARB would have been set
by the main window creation code. But in background mode this is not the
case so we need to create a dummy context using the screen window to init
wglew properly.
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions