mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1060790 - Call glFlush() to SkiaGL's GLContext on memory-pressure r=gw280
This commit is contained in:
parent
6486a1bccd
commit
567e76c4bc
@ -905,6 +905,9 @@ gfxPlatform::PurgeSkiaCache()
|
||||
return;
|
||||
|
||||
mSkiaGlue->GetGrContext()->freeGpuResources();
|
||||
// GrContext::flush() doesn't call glFlush. Call it here.
|
||||
mSkiaGlue->GetGLContext()->MakeCurrent();
|
||||
mSkiaGlue->GetGLContext()->fFlush();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user