[Webkit-unassigned] [Bug 197971] GLContextEGL should check the supported EGL version at compile time
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 17 09:42:03 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=197971
--- Comment #4 from Michael Catanzaro <mcatanzaro at igalia.com> ---
It clearly won't compile:
@@ -384,7 +384,11 @@ EGLContext GLContextEGL::createContextForEGLVersion(PlatformDisplay& platformDis
// Try to create a context with this configuration.
context = eglCreateContext(platformDisplay.eglDisplay(), config, sharingContext, contextAttributes);
- } else if (platformDisplay.eglCheckVersion(1, 4)) {
+ } else if
+#else
+ if
+#endif
+ (platformDisplay.eglCheckVersion(1, 4)) {
const char* extensions = eglQueryString(platformDisplay.eglDisplay(), EGL_EXTENSIONS);
if (GLContext::isExtensionSupported(extensions, "EGL_KHR_create_context")) {
contextAttributes[0] = EGL_CONTEXT_MAJOR_VERSION_KHR;
--
2.7.4
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190517/3885bff1/attachment.html>
More information about the webkit-unassigned
mailing list