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

Commit 11fbdf50 authored by Jason Sams's avatar Jason Sams
Browse files

Remove check for surface valid that is no longer valid.

parent 3b7d39bb
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) {