commit | b0ec1b46d6f5b5612e33fe43a828abea79b87a00 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Tue Jul 28 12:02:16 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Tue Jul 28 12:02:16 2009 -0700 |
tree | 3bf6193634273ec0cbf2e6a024f8afb315fb2f61 | |
parent | 8af858e9b6577d074c5427e601b6418d288fdb9d [diff] [blame] |
Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 78b8bf8..e52b0e0 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp
@@ -79,8 +79,7 @@ mFragment.set(frag); mVertex.set(vtx); mFragmentStore.set(store); - return true; - + return ret; }