summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2010-08-13 16:25:13 -0700
committer Mathias Agopian <mathias@google.com> 2010-08-13 16:25:13 -0700
commitf1c468e48160208afe4919f57de464369cd3cafc (patch)
treea17bd4f9cd701bc131bb00650f628e723aa50092
parent4a88b522359c080d4da5ac3f016b3272021655c9 (diff)
fix a typo that prevented glTexImage2D codepath to work
Change-Id: I36a3bf9d1d2eacd9b14e00b0a6c53bf88bba381c
-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 3b326dfdcf..0f448e08cc 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);