We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da2a1be commit 7ac6493Copy full SHA for 7ac6493
src/video/SDL_egl.c
@@ -1217,7 +1217,8 @@ EGLSurface *SDL_EGL_CreateSurface(_THIS, NativeWindowType nw)
1217
}
1218
1219
1220
-#ifdef EGL_EXT_present_opaque
+ // webOS 10+ reports EGL_EXT_present_opaque, composition breaks if we use it.
1221
+#if defined(EGL_EXT_present_opaque) && !defined(__WEBOS__)
1222
if (SDL_EGL_HasExtension(_this, SDL_EGL_DISPLAY_EXTENSION, "EGL_EXT_present_opaque")) {
1223
const SDL_bool allow_transparent = SDL_GetHintBoolean(SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY, SDL_FALSE);
1224
attribs[attr++] = EGL_PRESENT_OPAQUE_EXT;
0 commit comments