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,12 +19,12 @@ using namespace osg;
|
||||
void Hint::apply(State& /*state*/) const
|
||||
{
|
||||
if (_target==GL_NONE || _mode==GL_NONE) return;
|
||||
|
||||
|
||||
glHint(_target, _mode);
|
||||
}
|
||||
|
||||
void Hint::setTarget(GLenum target)
|
||||
{
|
||||
{
|
||||
if (_target==target) return;
|
||||
|
||||
if (_parents.empty())
|
||||
|
||||
Reference in New Issue
Block a user