Don't use MESA_EGL_NO_X11_HEADERS

Summary:
With recent Mesa updates (19.2.1), MESA_EGL_NO_X11_HEADERS doesn't have
any effect. So, let's include fixx11h.h instead.

Test Plan: I am able to build kwin once again.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D24840
This commit is contained in:
Vlad Zahorodnii 2019-10-21 21:20:11 +03:00
parent 1af0ee3f71
commit e06f83717c
2 changed files with 2 additions and 2 deletions

View file

@ -20,9 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MESA_EGL_NO_X11_HEADERS
#include <epoxy/egl.h>
#include "fixqopengl.h"
#include <fixx11h.h>
#include <QSurfaceFormat>

View file

@ -20,9 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MESA_EGL_NO_X11_HEADERS
#include <epoxy/egl.h>
#include "fixqopengl.h"
#include <fixx11h.h>
#include <qpa/qplatformoffscreensurface.h>