EGL: Include EGL/eglmesaext.h
The eglext.h shipped by libglvnd does not include the Mesa extensions, unlike the header shipped in Mesa. Fixes https://gitlab.gnome.org/GNOME/mutter/issues/876
This commit is contained in:
parent
05da4a6094
commit
a444a4c5f5
4 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,7 @@ cogl_gl_header_h = configure_file(
|
||||||
built_headers += [cogl_gl_header_h]
|
built_headers += [cogl_gl_header_h]
|
||||||
|
|
||||||
if have_egl
|
if have_egl
|
||||||
cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>'
|
cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>\n#include <EGL/eglmesaext.h>'
|
||||||
else
|
else
|
||||||
cogl_egl_includes_string = ''
|
cogl_egl_includes_string = ''
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
|
#include <EGL/eglmesaext.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is a little different to the tests shipped with EGL implementations,
|
* This is a little different to the tests shipped with EGL implementations,
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
|
#include <EGL/eglmesaext.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
|
#include <EGL/eglmesaext.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
#define META_EGL_ERROR meta_egl_error_quark ()
|
#define META_EGL_ERROR meta_egl_error_quark ()
|
||||||
|
|
Loading…
Reference in a new issue