Skip to content

Commit

Permalink
Seperated out the #define of GL_PERSPECTIVE_CORRECTION_HINT to fix GL…
Browse files Browse the repository at this point in the history
…3 build
  • Loading branch information
robertosfield committed Feb 22, 2010
1 parent bddb10e commit 97a64a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/osgDB/ObjectWrapper.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 97a64a4

Please sign in to comment.