summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/LayerBlur.cpp
diff options
context:
space:
mode:
authorMichael I. Gold <gold@nvidia.com>2010-09-15 15:46:24 -0700
committerMathias Agopian <mathias@google.com>2010-09-15 17:15:31 -0700
commite20a56d929fc8fedc2b468ea6d1900bd2aa6e81a (patch)
tree50f83446ffa80c8cf20c96b51b621631c114f4b9 /services/surfaceflinger/LayerBlur.cpp
parent698ddb0cd64f7e317ae2f98de05d6462f22b2b2a (diff)
downloadframeworks_base-e20a56d929fc8fedc2b468ea6d1900bd2aa6e81a.zip
frameworks_base-e20a56d929fc8fedc2b468ea6d1900bd2aa6e81a.tar.gz
frameworks_base-e20a56d929fc8fedc2b468ea6d1900bd2aa6e81a.tar.bz2
surfaceflinger / GL extensions cleanup
Add correct enumerants for OES_EGL_image_external to glext.h. SurfaceFlinger now checks for the correct extension name. Change-Id: I2ba2728a01fa2260bd086d2df4316c68f694a9b1
Diffstat (limited to 'services/surfaceflinger/LayerBlur.cpp')
-rw-r--r--services/surfaceflinger/LayerBlur.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/LayerBlur.cpp b/services/surfaceflinger/LayerBlur.cpp
index 2ee21b9..4cfcfe3 100644
--- a/services/surfaceflinger/LayerBlur.cpp
+++ b/services/surfaceflinger/LayerBlur.cpp
@@ -146,7 +146,7 @@ void LayerBlur::onDraw(const Region& clip) const
Region::const_iterator it = clip.begin();
Region::const_iterator const end = clip.end();
if (it != end) {
-#if defined(GL_OES_texture_external)
+#if defined(GL_OES_EGL_image_external)
if (GLExtensions::getInstance().haveTextureExternal()) {
glDisable(GL_TEXTURE_EXTERNAL_OES);
}