summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-08-13 16:25:13 -0700
committerMathias Agopian <mathias@google.com>2010-08-13 16:25:13 -0700
commitf1c468e48160208afe4919f57de464369cd3cafc (patch)
treea17bd4f9cd701bc131bb00650f628e723aa50092 /services/surfaceflinger
parent4a88b522359c080d4da5ac3f016b3272021655c9 (diff)
downloadframeworks_native-f1c468e48160208afe4919f57de464369cd3cafc.zip
frameworks_native-f1c468e48160208afe4919f57de464369cd3cafc.tar.gz
frameworks_native-f1c468e48160208afe4919f57de464369cd3cafc.tar.bz2
fix a typo that prevented glTexImage2D codepath to work
Change-Id: I36a3bf9d1d2eacd9b14e00b0a6c53bf88bba381c
Diffstat (limited to 'services/surfaceflinger')
-rw-r--r--services/surfaceflinger/TextureManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/TextureManager.cpp b/services/surfaceflinger/TextureManager.cpp
index 3b326df..0f448e0 100644
--- a/services/surfaceflinger/TextureManager.cpp
+++ b/services/surfaceflinger/TextureManager.cpp
@@ -190,7 +190,7 @@ status_t TextureManager::loadTexture(Texture* texture,
return err;
}
- if (texture->target != GL_TEXTURE_2D)
+ if (texture->target != Texture::TEXTURE_2D)
return INVALID_OPERATION;
glBindTexture(GL_TEXTURE_2D, texture->name);