mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-30 07:49:56 +00:00
glamor_egl: remove unneeded xf86 includes/GLAMOR_FOR_XORG
As of last commit, all of glamor_egl ix xf86 agnostic, so adjust the includes and drop the GLAMOR_FOR_XORG instances. Note the macro is still used for glamor_xv_init() which pulls xf86. v2: Drop GLAMOR_FOR_XORG guards (Michel Dänzer) Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/235>
This commit is contained in:
parent
0d5f226206
commit
304cd659d4
2 changed files with 0 additions and 3 deletions
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
#include <dix-config.h>
|
||||
|
||||
#define GLAMOR_FOR_XORG /* for -Wmissing-prototypes */
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
|
|
|||
|
|
@ -327,7 +327,6 @@ _X_EXPORT Bool glamor_get_drawable_modifiers(DrawablePtr draw,
|
|||
extern _X_EXPORT void glamor_set_drawable_modifiers_func(ScreenPtr screen,
|
||||
GetDrawableModifiersFuncPtr func);
|
||||
|
||||
#ifdef GLAMOR_FOR_XORG
|
||||
|
||||
#define GLAMOR_EGL_MODULE_NAME "glamoregl"
|
||||
|
||||
|
|
@ -404,7 +403,6 @@ extern _X_EXPORT Bool
|
|||
|
||||
extern _X_EXPORT const char *glamor_egl_get_driver_name(ScreenPtr screen);
|
||||
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT int glamor_create_gc(GCPtr gc);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue