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:
authorClément Foucault <foucault.clem@gmail.com>2018-04-25 13:51:22 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-04-25 18:43:18 +0300
commit284dbd56df5981faa9cae081ae081cf619fb8ad6 (patch)
treee37583a31835f93ad4ded87c0b0ee94b7c623ef2 /intern/ghost
parent5337f66e8192779d070d9b44fc5c71d7dd3f30ae (diff)
GHOST: GLX: Remove old version check.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_ContextGLX.cpp6
1 files changed, 0 insertions, 6 deletions
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);