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:
parent
1af0ee3f71
commit
e06f83717c
2 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define MESA_EGL_NO_X11_HEADERS
|
|
||||||
#include <epoxy/egl.h>
|
#include <epoxy/egl.h>
|
||||||
#include "fixqopengl.h"
|
#include "fixqopengl.h"
|
||||||
|
#include <fixx11h.h>
|
||||||
|
|
||||||
#include <QSurfaceFormat>
|
#include <QSurfaceFormat>
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define MESA_EGL_NO_X11_HEADERS
|
|
||||||
#include <epoxy/egl.h>
|
#include <epoxy/egl.h>
|
||||||
#include "fixqopengl.h"
|
#include "fixqopengl.h"
|
||||||
|
#include <fixx11h.h>
|
||||||
|
|
||||||
#include <qpa/qplatformoffscreensurface.h>
|
#include <qpa/qplatformoffscreensurface.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue