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

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

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

* commit 'c796ccaa':
  Fix RenderScriptGL setSurfaceTexture problem
parents 0ba2de85 c796ccaa
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -225,9 +225,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);
    }

    /**