Seperated out the #define of GL_PERSPECTIVE_CORRECTION_HINT to fix GL3 build
This commit is contained in:
parent
bb21136d92
commit
e3a1f664b9
@ -48,8 +48,11 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE)
|
||||
#ifndef GL_PERSPECTIVE_CORRECTION_HINT
|
||||
#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
|
||||
#endif
|
||||
|
||||
#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE)
|
||||
#define GL_POLYGON_SMOOTH_HINT 0x0C53
|
||||
#define GL_LINE_SMOOTH_HINT 0x0C52
|
||||
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
|
||||
|
Loading…
Reference in New Issue
Block a user