summaryrefslogtreecommitdiff
path: root/libs/hwui/FontRenderer.cpp
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-07-27 18:22:08 -0700
committer Andreas Gampe <agampe@google.com> 2015-08-12 16:30:32 -0700
commitfea85a33b7767d568e02fc7d05e5f2aac749efaa (patch)
tree5caebcf2e6fa7cc852cf8e415048ebba77c65832 /libs/hwui/FontRenderer.cpp
parent9dc2d5cd5bcd7519537828794a77a45d0a14ea03 (diff)
Hwui: Remove unused variables
For build-system CFLAGS clean-up, remove unused variables. Bug: 18632512 (cherry picked from commit cb4af9b10ab17187288d8f5ccb4cc1e465be9a51) Change-Id: Ic58bedc84234325512193991fc64315e3aad6f9e
Diffstat (limited to 'libs/hwui/FontRenderer.cpp')
-rw-r--r--libs/hwui/FontRenderer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp
index 35051b7cccea..9c2c1192a69d 100644
--- a/libs/hwui/FontRenderer.cpp
+++ b/libs/hwui/FontRenderer.cpp
@@ -474,7 +474,6 @@ void FontRenderer::issueDrawCommand(Vector<CacheTexture*>& cacheTextures) {
if (!mFunctor) return;
bool first = true;
- bool forceRebind = false;
for (uint32_t i = 0; i < cacheTextures.size(); i++) {
CacheTexture* texture = cacheTextures[i];
if (texture->canDraw()) {
@@ -487,7 +486,6 @@ void FontRenderer::issueDrawCommand(Vector<CacheTexture*>& cacheTextures) {
mFunctor->draw(*texture, mLinearFiltering);
texture->resetMesh();
- forceRebind = false;
}
}
}