commit | ee956053d6e3f7a7a82e41853b9b251fdc226d7a | [log] [tgz] |
---|---|---|
author | Jim Miller <jaggies@google.com> | Thu Aug 19 18:56:00 2010 -0700 |
committer | Jim Miller <jaggies@google.com> | Thu Aug 19 18:56:00 2010 -0700 |
tree | 11888dd8dc44ad5771b10782708693ff731dde7d | |
parent | 2c5678d7b3f9811ca441f3720ce2c778fdaa0a6d [diff] |
Make sure we have a native Surface in nContextSetSurface. I was seeing a problem running RenderScript in the system process because mNativeSurface was null. This works around the problem by forcing the native surface to be created when we set the surface. Change-Id: I3abf6cef1b049864e4e063669b6df547de008c93