[Fix] (trace-replay): request compatibility EGL profile

This commit is contained in:
2026-07-04 08:20:39 +08:00
parent 1902518cd6
commit 1549598e52
+2 -1
View File
@@ -516,7 +516,8 @@ public:
attribs[index++] = EGL_CONTEXT_MINOR_VERSION_KHR;
attribs[index++] = profile.major >= 3 ? profile.minor : 3;
attribs[index++] = EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR;
attribs[index++] = EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR;
attribs[index++] = profile.core ? EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR
: EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR;
}
attribs[index++] = EGL_NONE;