diff options
author | 2010-08-13 16:25:13 -0700 | |
---|---|---|
committer | 2010-08-13 16:25:13 -0700 | |
commit | 10f5c99223663ec0de21c52c1206c3d35cc2fb15 (patch) | |
tree | 708c53d9c02b244ae5156bc18ae541f913d3f245 | |
parent | ab5750115df3143de46cee934422ffea65765480 (diff) |
fix a typo that prevented glTexImage2D codepath to work
Change-Id: I36a3bf9d1d2eacd9b14e00b0a6c53bf88bba381c
-rw-r--r-- | services/surfaceflinger/TextureManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/TextureManager.cpp b/services/surfaceflinger/TextureManager.cpp index 3b326dfdcf00..0f448e08cc95 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); |