Fix T58250: crash starting Blender on X11 without OpenGL 3.3.

Instead display an error message and exit.
This commit is contained in:
Brecht Van Lommel
2019-01-03 16:43:09 +01:00
parent 407272d158
commit 3c411f5ba1
3 changed files with 12 additions and 7 deletions

View File

@@ -361,7 +361,7 @@ GHOST_IContext *GHOST_SystemWin32::createOffscreenContext()
NULL,
"Blender requires a graphics driver with at least OpenGL 3.3 support.\n\n"
"The program will now close.",
"Blender - Unsupported Graphics Driver!",
"Blender - Unsupported Graphics Driver",
MB_OK | MB_ICONERROR);
delete context;
exit();