Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dd27cbc authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I11fbdf50

* changes:
  Remove check for surface valid that is no longer valid.
parents 089e36f9 11fbdf50
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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) {