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.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/services/surfaceflinger/GLExtensions.cpp b/services/surfaceflinger/GLExtensions.cpp
index 493122d..e5fb083 100644
--- a/services/surfaceflinger/GLExtensions.cpp
+++ b/services/surfaceflinger/GLExtensions.cpp
@@ -28,7 +28,8 @@ ANDROID_SINGLETON_STATIC_INSTANCE( GLExtensions )
GLExtensions::GLExtensions()
: mHaveTextureExternal(false),
mHaveNpot(false),
- mHaveDirectTexture(false)
+ mHaveDirectTexture(false),
+ mHaveFramebufferObject(false)
{
}
@@ -79,7 +80,7 @@ void GLExtensions::initWithGLStrings(
mHaveDirectTexture = true;
}
#else
-#warning "EGL_ANDROID_image_native_buffer not supported"
+#error "EGL_ANDROID_image_native_buffer not supported"
#endif
if (hasExtension("GL_ARB_texture_non_power_of_two")) {