From 7c57dd04defb38db6f86aa2b5e9e226ca2eacf7b Mon Sep 17 00:00:00 2001 From: Thomas Hogarth Date: Tue, 3 Apr 2018 15:48:37 +0100 Subject: [PATCH] missing gles2 check --- src/osgViewer/GraphicsWindowIOS.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osgViewer/GraphicsWindowIOS.mm b/src/osgViewer/GraphicsWindowIOS.mm index 8fd10c06b..39e1ebac7 100644 --- a/src/osgViewer/GraphicsWindowIOS.mm +++ b/src/osgViewer/GraphicsWindowIOS.mm @@ -556,8 +556,10 @@ typedef std::map TouchPointsIdMapping; 0, 0, _backingWidth, _backingHeight, GL_COLOR_BUFFER_BIT, GL_LINEAR); } +# if OSG_GLES2_FEATURES else glResolveMultisampleFramebufferAPPLE(); +# endif # else glResolveMultisampleFramebufferAPPLE(); # endif