commit | f1c468e48160208afe4919f57de464369cd3cafc | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Fri Aug 13 16:25:13 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Fri Aug 13 16:25:13 2010 -0700 |
tree | a17bd4f9cd701bc131bb00650f628e723aa50092 | |
parent | 4a88b522359c080d4da5ac3f016b3272021655c9 [diff] [blame] |
fix a typo that prevented glTexImage2D codepath to work Change-Id: I36a3bf9d1d2eacd9b14e00b0a6c53bf88bba381c
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 @@ return err; } - if (texture->target != GL_TEXTURE_2D) + if (texture->target != Texture::TEXTURE_2D) return INVALID_OPERATION; glBindTexture(GL_TEXTURE_2D, texture->name);