[Bf-blender-cvs] [284dbd56df5] blender2.8: GHOST: GLX: Remove old version check.
Clément Foucault
noreply at git.blender.org
Wed Apr 25 17:43:23 CEST 2018
Commit: 284dbd56df5981faa9cae081ae081cf619fb8ad6
Author: Clément Foucault
Date: Wed Apr 25 12:51:22 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB284dbd56df5981faa9cae081ae081cf619fb8ad6
GHOST: GLX: Remove old version check.
===================================================================
M intern/ghost/intern/GHOST_ContextGLX.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp
index fb7fa4ee762..2256e58d61d 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -325,14 +325,8 @@ const bool GLXEW_ARB_create_context_robustness =
version = glGetString(GL_VERSION);
-#if 0 // enable this when Blender switches to 3.3 core profile
if (!version || version[0] < '3' || ((version[0] == '3') && (version[2] < '3'))) {
fprintf(stderr, "Error! Blender requires OpenGL 3.3 to run. Try updating your drivers.\n");
-#else
- // with Mesa, the closest thing to 3.3 compatibility profile is 3.0
- if (!version || version[0] < '3') {
- fprintf(stderr, "Error! Blender requires OpenGL 3.0 (soon 3.3) to run. Try updating your drivers.\n");
-#endif
fflush(stderr);
/* ugly, but we get crashes unless a whole bunch of systems are patched. */
exit(0);
More information about the Bf-blender-cvs
mailing list