Merge change I11fbdf50

* changes:
  Remove check for surface valid that is no longer valid.
This commit is contained in:
Android (Google) Code Review
2009-12-14 19:21:28 -08:00

View File

@@ -251,9 +251,9 @@ public class RenderScript {
}
void validateSurface() {
if (mSurface == null) {
throw new IllegalStateException("Uploading data to GL with no surface.");
}
//if (mSurface == null) {
//throw new IllegalStateException("Uploading data to GL with no surface.");
//}
}
public void contextSetPriority(Priority p) {