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

Commit c796ccaa authored by Jason Sams's avatar Jason Sams Committed by Android Git Automerger
Browse files

am 095ece10: am b3cafa56: Merge "Fix RenderScriptGL setSurfaceTexture problem"

* commit '095ece10':
  Fix RenderScriptGL setSurfaceTexture problem
parents 7471a3b1 095ece10
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -232,9 +232,13 @@ public class RenderScriptGL extends RenderScript {
        validate();
        //android.util.Log.v("rs", "set surface " + sur + " w=" + w + ", h=" + h);

        Surface s = null;
        if (sur != null) {
            s = new Surface(sur);
        }
        mWidth = w;
        mHeight = h;
        nContextSetSurfaceTexture(w, h, sur);
        nContextSetSurface(w, h, s);
    }

    /**