From 4dfa134899ad958d1c2f7c86592d73f341f33e7b Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 6 Apr 2019 14:08:08 +0200 Subject: GHOST: tweak warning message about OpenGL 3.3. --- intern/ghost/intern/GHOST_SystemWin32.cpp | 5 +++-- intern/ghost/intern/GHOST_WindowWin32.cpp | 5 +++-- intern/ghost/intern/GHOST_WindowX11.cpp | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'intern/ghost') 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); -- cgit v1.2.3