summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2010-11-18 16:36:47 -0800
committerAlex Sakhartchouk <alexst@google.com>2010-11-18 16:36:47 -0800
commit2f08ce033203bb4418d836129768b111d0b3b806 (patch)
tree6606a9ba8af70cbdbad7bbe6145c79f45d4affe4 /libs
parent67f2e442a31b8395e3c1951f8e91139ec7f2be99 (diff)
downloadframeworks_base-2f08ce033203bb4418d836129768b111d0b3b806.zip
frameworks_base-2f08ce033203bb4418d836129768b111d0b3b806.tar.gz
frameworks_base-2f08ce033203bb4418d836129768b111d0b3b806.tar.bz2
Fixing the state restore bug.
Change-Id: I30446a2d552b98fc69878bc7b4fc1a0fd358fc99
Diffstat (limited to 'libs')
-rw-r--r--libs/rs/rsContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index 143c4dc..840a10e 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -268,6 +268,7 @@ Context::PushState::PushState(Context *con) {
mVertex.set(con->getProgramVertex());
mStore.set(con->getProgramStore());
mRaster.set(con->getProgramRaster());
+ mFont.set(con->getFont());
}
Context::PushState::~PushState() {