Skip to content

Commit

Permalink
Update SKSwapChainPanel.Android.cs (#2400)
Browse files Browse the repository at this point in the history
set non opaque TextureView
  • Loading branch information
roubachof authored Mar 15, 2023
1 parent 769d5e0 commit 48d3e25
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ private GRContext GetGRContext() =>
partial void DoLoaded()
{
glTextureView = new SKGLTextureView(Context);
// Force the opacity to false for consistency with the other platforms
glTextureView.SetOpaque(false);
DoEnableRenderLoop(EnableRenderLoop);
glTextureView.PaintSurface += OnPaintSurface;
AddView(glTextureView);
Expand Down

0 comments on commit 48d3e25

Please sign in to comment.