diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-04-18 17:00:19 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-04-18 17:02:17 +0300 |
commit | 80b6f8b1d8e90098f26f27078d1b8ce63cb95e73 (patch) | |
tree | 56bd8da14c0dadc7807508882d9c601242d7d2ac /intern | |
parent | e5bf726f44e7907ef932c78edd1322c7e5597c6e (diff) |
OpenGL: Comment out the old tokens from gl-deprecated
Those tokens are still valid. Although we should not being using them,
they should not prevent us from building with core profile.
In the future we can have a new flag WITH_GL_CORE_STRICT for those.
But only after we build with core profile by default
Diffstat (limited to 'intern')
-rw-r--r-- | intern/glew-mx/intern/gl-deprecated.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/glew-mx/intern/gl-deprecated.h b/intern/glew-mx/intern/gl-deprecated.h index 3f30a5776b3..669fb83a644 100644 --- a/intern/glew-mx/intern/gl-deprecated.h +++ b/intern/glew-mx/intern/gl-deprecated.h @@ -841,6 +841,7 @@ #undef GL_SOURCE2_RGB #define GL_SOURCE2_RGB DO_NOT_USE_GL_SOURCE2_RGB +#if 0 /* Those are deprecated but still valid */ // Old Token Names 3.0 #undef GL_CLIP_PLANE0 #define GL_CLIP_PLANE0 USE_GL_CLIP_DISTANCE0 @@ -864,5 +865,6 @@ // Old Token Names 3.2 #undef GL_VERTEX_PROGRAM_POINT_SIZE #define GL_VERTEX_PROGRAM_POINT_SIZE USE_GL_PROGRAM_POINT_SIZE +#endif #endif /* __GL_DEPRECATED_H__ */ |