Blender Git Commit Log

Git Commits -> Revision e0c088f

Revision e0c088f by Clément Foucault (master)
April 26, 2018, 09:49 (GMT)
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.

Commit Details:

Full Hash: e0c088f8fb5afcb2dd70d7a6c275fd942f6e42a9
Parent Commit: 7fcdccb
Lines Changed: +35, -0

1 Modified Path:

/intern/ghost/intern/GHOST_ContextWGL.cpp (+35, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021