Remove check for surface valid that is no longer valid.

This commit is contained in:
Jason Sams
2009-12-14 19:20:30 -08:00
parent 3b7d39bb51
commit 11fbdf5020

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) {