commit | 10f5c99223663ec0de21c52c1206c3d35cc2fb15 | [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 | 708c53d9c02b244ae5156bc18ae541f913d3f245 | |
parent | ab5750115df3143de46cee934422ffea65765480 [diff] |
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);