[Webkit-unassigned] [Bug 183008] New: including both gl3.h and gl2.h when USE_OPENGL_ES is enabled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 21 10:56:22 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=183008
Bug ID: 183008
Summary: including both gl3.h and gl2.h when USE_OPENGL_ES is
enabled
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: hyun.kwon at xilinx.com
CC: bugs-noreply at webkitgtk.org
Both gl2.h and gl3.h are included when USE_OPENGL_ES is enabled in [1]. This breaks the build for systems that only support OpenGLES2, but not OpenGLES3. USE_OPENGL_ES should specify the version of the API and include the corresponding header only, to avoid any confusion.
[1] https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/graphics/GLContext.cpp#L31
Thanks,
-hyun
--
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/20180221/65f14833/attachment.html>
More information about the webkit-unassigned
mailing list