[webkit-reviews] review requested: [Bug 133550] [GTK] GLContextEGL.cpp: conflicting declaration 'typedef ptrdiff_t GLintptr' : [Attachment 233042] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 13 05:20:51 PDT 2014


Alberto Garcia <berto at igalia.com> has asked  for review:
Bug 133550: [GTK] GLContextEGL.cpp: conflicting declaration 'typedef ptrdiff_t
GLintptr'
https://bugs.webkit.org/show_bug.cgi?id=133550

Attachment 233042: Patch
https://bugs.webkit.org/attachment.cgi?id=233042&action=review

------- Additional Comments from Alberto Garcia <berto at igalia.com>
The problem comes because we include cairo-gl.h for the definition of
cairo_egl_device_create().

However that file also includes some definitions from the GLX headers
that conflict with the ones provided by the WebKit GLES2 headers.

Since we don't need any GLX code in that source file we can disable
the inclusion of those functions.


More information about the webkit-reviews mailing list