mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Fix] (MG_Backend/DirectGLES): flush ANGLE memory barriers
This commit is contained in:
@@ -2330,6 +2330,9 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
||||
|
||||
void MemoryBarrier(GLbitfield barriers) {
|
||||
g_GLESFuncs.glMemoryBarrier(barriers);
|
||||
if (g_GLESCapabilities.GLESRendererString.find("ANGLE") != String::npos) {
|
||||
g_GLESFuncs.glFlush();
|
||||
}
|
||||
}
|
||||
|
||||
void MemoryBarrierByRegion(GLbitfield barriers) {
|
||||
|
||||
Reference in New Issue
Block a user