diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-04-22 07:35:04 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-04-22 07:35:04 +0300 |
commit | ef640ecf1004f7af9cfde09f5ce1cde2fb70747f (patch) | |
tree | 0fdf4cc76d005848fee55c5217af1114e45d1607 /intern/cycles/util/util_opengl.h | |
parent | 1beed61b761d3f964f57f99235c479ff1ddfe26f (diff) |
OpenGL: remove use of GLEW MX
MX (Multiple conteXt) support was dropped from the GLEW 2.0 library to make core profile support cleaner.
Our WITH_GLEW_MX build option was OFF by default already; this commit removes the inactive code paths.
I'm working on a plan for multiple GPUs, contexts, resource sharing, etc. This commit gives us a cleaner starting point for that upcoming work.
Tested on Mac, will test on Linux & Windows immediately after pushing.
Diffstat (limited to 'intern/cycles/util/util_opengl.h')
-rw-r--r-- | intern/cycles/util/util_opengl.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/intern/cycles/util/util_opengl.h b/intern/cycles/util/util_opengl.h index 0b5462e0a09..7a8d5eec1f9 100644 --- a/intern/cycles/util/util_opengl.h +++ b/intern/cycles/util/util_opengl.h @@ -20,12 +20,6 @@ /* OpenGL header includes, used everywhere we use OpenGL, to deal with * platform differences in one central place. */ -#ifdef WITH_GLEW_MX -# include "glew-mx.h" -#else -# include <GL/glew.h> -# define mxCreateContext() glewInit() -# define mxMakeCurrentContext(x) (x) -#endif +#include <GL/glew.h> #endif /* __UTIL_OPENGL_H__ */ |