From 43c2dc1aab682d5b6ad49d24983d6382c4f305bb Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Thu, 19 Nov 2015 17:05:05 +0900 Subject: glamor: Deal with glamor_egl_destroy_textured_pixmap being removed When it's not available, it's safe to call down to the glamor DestroyPixmap hook instead. (ported from radeon commit 10b7c3def58bb34acc38f076bc230e25b454ab79) Reviewed-by: Alex Deucher --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3955b68..a884882 100644 --- a/configure.ac +++ b/configure.ac @@ -133,6 +133,12 @@ if test "x$GLAMOR" != "xno"; then [Have glamor_glyphs_init API])], [], [#include "xorg-server.h" #include "glamor.h"]) + + AC_CHECK_DECL(glamor_egl_destroy_textured_pixmap, + [AC_DEFINE(HAVE_GLAMOR_EGL_DESTROY_TEXTURED_PIXMAP, 1, + [Have glamor_egl_destroy_textured_pixmap API])], [], + [#include "xorg-server.h" + #include "glamor.h"]) fi PKG_CHECK_MODULES(LIBGL, [gl]) -- cgit v1.2.3