GHOST: tweak warning message about OpenGL 3.3.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user