mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-28 02:04:20 +00:00
Fixed building with older libdrm headers
(cherry picked from commit8949de3978) (cherry picked from commit88bbab275f)
This commit is contained in:
@@ -33,6 +33,10 @@
|
|||||||
#include <gbm.h>
|
#include <gbm.h>
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
|
|
||||||
|
#ifndef DRM_MODE_FB_MODIFIERS
|
||||||
|
#define DRM_MODE_FB_MODIFIERS 2
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef DRM_MODE_PAGE_FLIP_ASYNC
|
#ifndef DRM_MODE_PAGE_FLIP_ASYNC
|
||||||
#define DRM_MODE_PAGE_FLIP_ASYNC 2
|
#define DRM_MODE_PAGE_FLIP_ASYNC 2
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user