Moved GL_ALPHA_TEST from AlphaFunc header to GLDefines header

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15002 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2015-07-22 14:03:24 +00:00
parent 000c9af7c2
commit ec8779ca6f
2 changed files with 4 additions and 4 deletions

View File

@ -16,10 +16,6 @@
#include <osg/StateAttribute> #include <osg/StateAttribute>
#ifndef GL_ALPHA_TEST
#define GL_ALPHA_TEST 0x0BC0
#endif
namespace osg { namespace osg {
/** Encapsulates OpenGL glAlphaFunc. /** Encapsulates OpenGL glAlphaFunc.

View File

@ -600,6 +600,10 @@ typedef char GLchar;
#define GL_RASTERIZER_DISCARD 0x8C89 #define GL_RASTERIZER_DISCARD 0x8C89
#endif #endif
#ifndef GL_ALPHA_TEST
#define GL_ALPHA_TEST 0x0BC0
#endif
namespace osg namespace osg
{ {
#ifndef GL_VERSION_3_2 #ifndef GL_VERSION_3_2