We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e91e943 commit c730f6cCopy full SHA for c730f6c
examples/2019-09-08-SkiaSharp-openGL/readme.md
@@ -28,6 +28,7 @@ private void RenderWithOpenGL(object sender, PaintEventArgs e)
28
int height = sctl.Height;
29
30
// setup the Skia surface using OpenGL
31
+ SKColorType colorType = SKColorType.Rgba8888;
32
GRContext contextOpenGL = GRContext.Create(GRBackend.OpenGL, GRGlInterface.CreateNativeGlInterface());
33
GL.GetInteger(GetPName.FramebufferBinding, out var framebuffer);
34
GRGlFramebufferInfo glInfo = new GRGlFramebufferInfo((uint)framebuffer, colorType.ToGlSizedFormat());
@@ -52,4 +53,4 @@ private void RenderWithOpenGL(object sender, PaintEventArgs e)
52
53
contextOpenGL?.Dispose();
54
surface?.Dispose();
55
}
-```
56
+```
0 commit comments