From b10d30242da15048b6db81a17d38c722acb7a052 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 12 Oct 2016 18:00:05 +0100 Subject: [PATCH] Fixed GLES build due to lack of GLclampd --- include/osg/GLDefines | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/osg/GLDefines b/include/osg/GLDefines index b8b1fc152..fa6f82e5f 100644 --- a/include/osg/GLDefines +++ b/include/osg/GLDefines @@ -636,6 +636,10 @@ namespace osg #endif #endif #endif + + #if defined(OSG_GLES1_FEATURES) || defined(OSG_GLES2_FEATURES)|| defined(OSG_GLES3_FEATURES) + typedef double GLclampd; + #endif } #endif