diff options
author | Mathias Agopian <mathias@google.com> | 2013-08-28 18:13:56 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-08-28 18:13:56 -0700 |
commit | 19733a32799f792125913e746e8644d16f8dc223 (patch) | |
tree | 65a3de18d5eb2edf7c67454a8ecb7860e7111f14 /services/surfaceflinger/RenderEngine/RenderEngine.cpp | |
parent | 931bda1c472ba8c8e965bdba6757ff94154df903 (diff) | |
download | frameworks_native-19733a32799f792125913e746e8644d16f8dc223.zip frameworks_native-19733a32799f792125913e746e8644d16f8dc223.tar.gz frameworks_native-19733a32799f792125913e746e8644d16f8dc223.tar.bz2 |
minor clean-up of the GLESRenderer
Change-Id: I978dea25b7687fbbbb283f09c24e115d9bad49a2
Diffstat (limited to 'services/surfaceflinger/RenderEngine/RenderEngine.cpp')
-rw-r--r-- | services/surfaceflinger/RenderEngine/RenderEngine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/surfaceflinger/RenderEngine/RenderEngine.cpp b/services/surfaceflinger/RenderEngine/RenderEngine.cpp index 063be2e..2abda82 100644 --- a/services/surfaceflinger/RenderEngine/RenderEngine.cpp +++ b/services/surfaceflinger/RenderEngine/RenderEngine.cpp @@ -164,7 +164,8 @@ void RenderEngine::fillRegionWithColor(const Region& region, uint32_t height, position[i*6 + 5].x = r->right; position[i*6 + 5].y = height - r->top; } - fillWithColor(mesh, red, green, blue, alpha); + setupFillWithColor(red, green, blue, alpha); + drawMesh(mesh); } void RenderEngine::clearWithColor(float red, float green, float blue, float alpha) { |