Browse Source
Merge pull request #6896 from AvaloniaUI/fixes/clipping-rendering-issues-osx
Fixes/clipping rendering issues osx
test11
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Skia/Avalonia.Skia/Gpu/OpenGl/GlSkiaGpu.cs
|
|
|
@ -25,7 +25,7 @@ namespace Avalonia.Skia |
|
|
|
GRGlInterface.CreateOpenGl(proc => context.GlInterface.GetProcAddress(proc)) : |
|
|
|
GRGlInterface.CreateGles(proc => context.GlInterface.GetProcAddress(proc))) |
|
|
|
{ |
|
|
|
_grContext = GRContext.CreateGl(iface); |
|
|
|
_grContext = GRContext.CreateGl(iface, new GRContextOptions { AvoidStencilBuffers = true }); |
|
|
|
if (maxResourceBytes.HasValue) |
|
|
|
{ |
|
|
|
_grContext.SetResourceCacheLimit(maxResourceBytes.Value); |
|
|
|
|