[Fix] (MG_State/EGLState): fix compilation error on 32-bit arch where EGLAttrib & EGLint are the same type and collides

This commit is contained in:
2026-05-03 19:52:29 +08:00
parent c1ebd01a70
commit 212309083a
2 changed files with 13 additions and 26 deletions
-2
View File
@@ -210,8 +210,6 @@ namespace MobileGL {
}
}
static Optional<EGLint> ParseAttribValue(const EGLint* attribList, EGLint attrib);
static Optional<EGLAttrib> ParseAttribValue(const EGLAttrib* attribList, EGLint attrib);
static std::thread::id CurrentThreadKey();
EGLDisplayHandle GetOrCreateDisplay(Uint64 nativeDisplayKey, EGLenum platform);