diff options
| author | 2010-06-30 19:23:08 -0700 | |
|---|---|---|
| committer | 2010-06-30 19:23:08 -0700 | |
| commit | c18a9f20516f91b00eaec0cefbf795eca08d4d6a (patch) | |
| tree | 022c6c145e5b8002ac76b810a97a1b4d5258e3ef /libs/hwui/TextureCache.cpp | |
| parent | 7940e8472b7bbcaf957cc2df116184d587674d00 (diff) | |
| parent | 8ba548f81d1ab5f1750cbf86098c4a14e0b8bead (diff) | |
Merge "Add implementation for drawBitmap(Bitmap, Rect, Rect, Paint)"
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
| -rw-r--r-- | libs/hwui/TextureCache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/TextureCache.cpp b/libs/hwui/TextureCache.cpp index 4e1650771310..7b8b31398188 100644 --- a/libs/hwui/TextureCache.cpp +++ b/libs/hwui/TextureCache.cpp @@ -92,6 +92,7 @@ void TextureCache::generateTexture(SkBitmap* bitmap, Texture* texture, bool rege glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); |