Blender Git Loki

Git Commits -> Revision 8c77c36

Revision 8c77c36 by Ray molenkamp (master)
June 19, 2018, 00:10 (GMT)
Ghost: Fix offline OGL render on windows.

rBe0c088f8fb5a introduced offline rendering support on windows, sadly it was trying to use the desktop window for getting a context, which given SetPixelFormat can only be called once for any given HDC was an unfortunate choice.

This patch uses a temporary hidden window for getting the opengl context.

Reviewers: mano-wii

Differential Revision: https://developer.blender.org/D3481

Commit Details:

Full Hash: 8c77c3653996516ba152eade2c27980ae20a1198
Parent Commit: 30c383f
Lines Changed: +17, -90

3 Modified Paths:

/intern/ghost/intern/GHOST_ContextWGL.cpp (+5, -84) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.h (+0, -4) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+12, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021