Fix T101298: Blender 3.3.1 crash on macOS due to merge error

Blender 3.3 is still using GLEW and needs this initialization.
This commit is contained in:
Brecht Van Lommel 2022-09-23 17:54:18 +02:00
parent 81ec5ec366
commit 58e78c1ffe
Notes: blender-bot 2023-02-14 09:34:18 +01:00
Referenced by issue #101298, Blender 3.3.1 crashes before Splash Screen in M1 Max
1 changed files with 2 additions and 0 deletions

View File

@ -335,6 +335,8 @@ GHOST_TSuccess GHOST_ContextCGL::initializeDrawingContext()
}
#endif
initContextGLEW();
if (m_metalView) {
if (m_defaultFramebuffer == 0) {
/* Create a virtual frame-buffer. */