Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-06 15:08:08 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-06 15:26:23 +0300
commit4dfa134899ad958d1c2f7c86592d73f341f33e7b (patch)
treed71c02999947e8ecc6e1c441182fb70408ff288a /intern/ghost
parentf12040e088b66748340b0d7472d1155596e0f9e2 (diff)
GHOST: tweak warning message about OpenGL 3.3.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp5
-rw-r--r--intern/ghost/intern/GHOST_WindowWin32.cpp5
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.cpp4
3 files changed, 8 insertions, 6 deletions
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);