Use RGB565 for the GPU to support older GLES #229

This commit is contained in:
Matthew Leibowitz 2018-01-11 04:26:33 +02:00
Родитель 0a158fdbc3
Коммит 3d141673c2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -71,7 +71,7 @@ namespace SkiaSharp.Views.Android
{ {
Width = 0, // set later Width = 0, // set later
Height = 0, // set later Height = 0, // set later
Config = GRPixelConfig.Rgba8888, Config = GRPixelConfig.Rgb565,
Origin = GRSurfaceOrigin.TopLeft, Origin = GRSurfaceOrigin.TopLeft,
SampleCount = samples[0], SampleCount = samples[0],
StencilBits = stencilbuffers[0], StencilBits = stencilbuffers[0],