[Bf-blender-cvs] [4dfa134899a] master: GHOST: tweak warning message about OpenGL 3.3.

Brecht Van Lommel noreply at git.blender.org
Sat Apr 6 14:27:03 CEST 2019


Commit: 4dfa134899ad958d1c2f7c86592d73f341f33e7b
Author: Brecht Van Lommel
Date:   Sat Apr 6 14:08:08 2019 +0200
Branches: master
https://developer.blender.org/rB4dfa134899ad958d1c2f7c86592d73f341f33e7b

GHOST: tweak warning message about OpenGL 3.3.

===================================================================

M	intern/ghost/intern/GHOST_SystemWin32.cpp
M	intern/ghost/intern/GHOST_WindowWin32.cpp
M	intern/ghost/intern/GHOST_WindowX11.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index ebec5a773a0..12d58b0a9cb 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -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();
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp
index ed5e0798643..21d1ec0c5b1 100644
--- a/intern/ghost/intern/GHOST_WindowWin32.cpp
+++ b/intern/ghost/intern/GHOST_WindowWin32.cpp
@@ -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);
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index 4949f8c26c0..7a2c9967198 100644
--- a/intern/ghost/intern/GHOST_WindowX11.cpp
+++ b/intern/ghost/intern/GHOST_WindowX11.cpp
@@ -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);



More information about the Bf-blender-cvs mailing list