mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 05:08:31 +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) {
|
void MemoryBarrier(GLbitfield barriers) {
|
||||||
g_GLESFuncs.glMemoryBarrier(barriers);
|
g_GLESFuncs.glMemoryBarrier(barriers);
|
||||||
|
if (g_GLESCapabilities.GLESRendererString.find("ANGLE") != String::npos) {
|
||||||
|
g_GLESFuncs.glFlush();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MemoryBarrierByRegion(GLbitfield barriers) {
|
void MemoryBarrierByRegion(GLbitfield barriers) {
|
||||||
|
|||||||
Reference in New Issue
Block a user