From 1a664b19de487b67e03ca1ed234556d8f8dce5e1 Mon Sep 17 00:00:00 2001 From: Laurens Voerman Date: Wed, 12 Oct 2016 13:29:58 +0200 Subject: [PATCH] add #define GL_TEXTURE0 for windows users previously provided by GLBeginEndAdapter --- include/osg/State | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/osg/State b/include/osg/State index 62bedd2d9..f1af1e241 100644 --- a/include/osg/State +++ b/include/osg/State @@ -38,6 +38,10 @@ #include #include +#ifndef GL_TEXTURE0 +#define GL_TEXTURE0 0x84C0 +#endif + namespace osg { /** macro for use with osg::StateAttribute::apply methods for detecting and