From 10ed04935d19ff87169499a7c1c7d8256cf13fe0 Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Tue, 19 Jul 2011 17:50:29 -0700 Subject: Correctly call glviewport when surface changes. Change-Id: I7ef1539e39ea67245bac5ee410deb5918fc5dfcf --- libs/rs/rsContext.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/rs/rsContext.cpp') diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 87986124245c..193210877729 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -446,6 +446,7 @@ void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { if (mWidth && mHeight) { mStateVertex.updateSize(this); + mFBOCache.updateSize(); } } -- cgit v1.2.3-59-g8ed1b