mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-25 08:20:11 +01:00
tests: Include weston-egl-ext from weston-test
weston-test uses eglBindWaylandDisplayWL and friends, which are defined either by the EGL implementation, or weston-egl-ext.h as a fallback. Include weston-egl-ext.h from weston-test, so we can build on systems whose native EGL implementation doesn't give us the needed defines. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
a9d0b6836e
commit
e78977196c
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
#ifdef ENABLE_EGL
|
#ifdef ENABLE_EGL
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
|
#include "../src/weston-egl-ext.h"
|
||||||
#endif /* ENABLE_EGL */
|
#endif /* ENABLE_EGL */
|
||||||
|
|
||||||
struct weston_test {
|
struct weston_test {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue