GHOST: tweak warning message about OpenGL 3.3.

This commit is contained in:
Brecht Van Lommel
2019-04-06 14:08:08 +02:00
parent f12040e088
commit 4dfa134899
3 changed files with 8 additions and 6 deletions

View File

@@ -356,9 +356,10 @@ GHOST_IContext *GHOST_SystemWin32::createOffscreenContext()
else {
MessageBox(
NULL,
"Blender requires a graphics driver with at least OpenGL 3.3 support.\n\n"
"A graphics card and driver with support for OpenGL 3.3 or higher is required.\n"
"Installing the latest driver for your graphics card may resolve the issue.\n\n"
"The program will now close.",
"Blender - Unsupported Graphics Driver",
"Blender - Unsupported Graphics Card or Driver",
MB_OK | MB_ICONERROR);
delete context;
exit();

View File

@@ -703,9 +703,10 @@ GHOST_Context *GHOST_WindowWin32::newDrawingContext(GHOST_TDrawingContextType ty
else {
MessageBox(
m_hWnd,
"Blender requires a graphics driver with at least OpenGL 3.3 support.\n\n"
"A graphics card and driver with support for OpenGL 3.3 or higher is required.\n"
"Installing the latest driver for your graphics card may resolve the issue.\n\n"
"The program will now close.",
"Blender - Unsupported Graphics Driver",
"Blender - Unsupported Graphics Card or Driver",
MB_OK | MB_ICONERROR);
delete context;
exit(0);

View File

@@ -1298,8 +1298,8 @@ GHOST_Context *GHOST_WindowX11::newDrawingContext(GHOST_TDrawingContextType type
delete context;
/* Ugly, but we get crashes unless a whole bunch of systems are patched. */
fprintf(stderr, "Error! Unsupported graphics driver.\n");
fprintf(stderr, "Blender requires a graphics driver with at least OpenGL 3.3 support.\n");
fprintf(stderr, "Error! Unsupported graphics card or driver.\n");
fprintf(stderr, "A graphics card and driver with support for OpenGL 3.3 or higher is required.\n");
fprintf(stderr, "The program will now close.\n");
fflush(stderr);
exit(1);