summaryrefslogtreecommitdiff
path: root/libs/rs/rsContext.cpp
diff options
context:
space:
mode:
author Alex Sakhartchouk <alexst@google.com> 2011-07-20 09:41:50 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-07-20 09:41:50 -0700
commiteac3503deb95bee21f811cc14ad26fa5aeca98f0 (patch)
tree32b1b307a415c5475c52ef221d2f1f1f7fe24e87 /libs/rs/rsContext.cpp
parentcaed51bcc23303182ffffb8b2db04647845bc1f5 (diff)
parent10ed04935d19ff87169499a7c1c7d8256cf13fe0 (diff)
Merge "Correctly call glviewport when surface changes."
Diffstat (limited to 'libs/rs/rsContext.cpp')
-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 447a7ff88ba2..decd9f1826a9 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -442,6 +442,7 @@ void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) {
if (mWidth && mHeight) {
mStateVertex.updateSize(this);
+ mFBOCache.updateSize();
}
}