summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/GLExtensions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/GLExtensions.cpp')
-rw-r--r--services/surfaceflinger/GLExtensions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/surfaceflinger/GLExtensions.cpp b/services/surfaceflinger/GLExtensions.cpp
index 850866a..493122d 100644
--- a/services/surfaceflinger/GLExtensions.cpp
+++ b/services/surfaceflinger/GLExtensions.cpp
@@ -92,6 +92,10 @@ void GLExtensions::initWithGLStrings(
// hack for Adreno 200
mHaveTextureExternal = true;
}
+
+ if (hasExtension("GL_OES_framebuffer_object")) {
+ mHaveFramebufferObject = true;
+ }
}
bool GLExtensions::hasExtension(char const* extension) const