From 41fd952e4af6acf55c1ff6ef951cb962ca21d915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 3 Aug 2013 11:51:30 +0200 Subject: [PATCH] OpenGL ES build fixes. --- src/AbstractFramebuffer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AbstractFramebuffer.cpp b/src/AbstractFramebuffer.cpp index 7edcd23d6..cd0497be5 100644 --- a/src/AbstractFramebuffer.cpp +++ b/src/AbstractFramebuffer.cpp @@ -212,20 +212,20 @@ void AbstractFramebuffer::initializeContextBasedFunctionality(Context& context) readTarget = FramebufferTarget::Read; drawTarget = FramebufferTarget::Draw; - if(context->isExtensionSupported()) + if(context.isExtensionSupported()) Debug() << "AbstractFramebuffer: using" << Extensions::GL::ANGLE::framebuffer_blit::string() << "features"; - else if(context->isExtensionSupported()) + else if(context.isExtensionSupported()) Debug() << "AbstractFramebuffer: using" << Extensions::GL::APPLE::framebuffer_multisample::string() << "features"; - else if(context->isExtensionSupported()) + else if(context.isExtensionSupported()) Debug() << "AbstractFramebuffer: using" << Extensions::GL::NV::framebuffer_blit::string() << "features"; /* NV_framebuffer_multisample requires NV_framebuffer_blit, which has these enums. However, on my system only NV_framebuffer_multisample is supported, but NV_framebuffer_blit isn't. I will hold my breath and assume these enums are available. */ - else if(context->isExtensionSupported()) + else if(context.isExtensionSupported()) Debug() << "AbstractFramebuffer: using" << Extensions::GL::NV::framebuffer_multisample::string() << "features"; /* If no such extension is available, reset back to unified target */