Added more plugins and texture shader to iOS example, fixed a couple of missed if defines for GLES3

This commit is contained in:
Thomas Hogarth
2017-05-04 00:24:46 +01:00
parent 3dc3dd3bd6
commit fe0b53d7f5
6 changed files with 95 additions and 9 deletions

View File

@@ -567,7 +567,7 @@ void Shader::PerContextShader::compileShader(osg::State& state)
if( ! _needsCompile ) return;
_needsCompile = false;
#if defined(OSG_GLES2_AVAILABLE)
#if defined(OSG_GLES2_AVAILABLE) || defined(OSG_GLES3_AVAILABLE)
if (_shader->getShaderBinary())
{
GLint numFormats = 0;