Skip to content

Commit

Permalink
Android also requires that the stencil buffer be cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Jan 15, 2017
1 parent aa040d9 commit 25d56b5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public abstract class SKGLSurfaceViewRenderer : Java.Lang.Object, GLSurfaceView.

public void OnDrawFrame(IGL10 gl)
{
GLES10.GlClear(GLES10.GlStencilBufferBit);

// create the surface
using (var surface = SKSurface.Create(context, renderTarget))
{
Expand Down

0 comments on commit 25d56b5

Please sign in to comment.