compositor-{drm, x11, wayland}: stop including EGL headers here

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
dev
Jonny Lamb 10 years ago committed by Pekka Paalanen
parent 41d2ccccb0
commit 62185f42ea
  1. 2
      src/compositor-drm.c
  2. 2
      src/compositor-wayland.c
  3. 2
      src/compositor-x11.c
  4. 1
      src/gl-renderer.h

@ -52,8 +52,6 @@
#include "vaapi-recorder.h"
#include "presentation_timing-server-protocol.h"
#include <EGL/eglext.h>
#ifndef DRM_CAP_TIMESTAMP_MONOTONIC
#define DRM_CAP_TIMESTAMP_MONOTONIC 0x6
#endif

@ -45,8 +45,6 @@
#include "fullscreen-shell-client-protocol.h"
#include "presentation_timing-server-protocol.h"
#include <EGL/eglext.h>
#define WINDOW_TITLE "Weston Compositor"
#ifndef EGL_PLATFORM_WAYLAND_KHR

@ -53,8 +53,6 @@
#include "../shared/image-loader.h"
#include "presentation_timing-server-protocol.h"
#include <EGL/eglext.h>
#define DEFAULT_AXIS_STEP_DISTANCE wl_fixed_from_int(10)
#ifndef EGL_PLATFORM_X11_KHR

@ -27,6 +27,7 @@
#ifdef ENABLE_EGL
#include <EGL/egl.h>
#include <EGL/eglext.h>
#else

Loading…
Cancel
Save