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
This commit is contained in:
parent
e5bf726f44
commit
80b6f8b1d8
|
@ -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__ */
|
||||
|
|
Loading…
Reference in New Issue