Introduced usage of OSG_GLES*_AVAILABLE macros to headers and .cpp's to enable building against OpenGL ES 1.x and 2.x headers
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
|
||||
namespace osg {
|
||||
|
||||
#ifndef OSG_GL_FIXED_FUNCTION_AVAILABLE
|
||||
#define GL_FLAT 0x1D00
|
||||
#define GL_SMOOTH 0x1D01
|
||||
#endif
|
||||
|
||||
/** Class which encapsulates glShadeModel(..).
|
||||
*/
|
||||
class OSG_EXPORT ShadeModel : public StateAttribute
|
||||
|
||||
Reference in New Issue
Block a user