From b60e6cb66d3fba43d5403b2b5027537d09ee7c98 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Fri, 10 Jun 2011 15:46:23 +0800 Subject: [PATCH] glamor: Silence compilation warnings. Signed-off-by: Zhigang Gong --- glamor/glamor.c | 1 - glamor/glamor.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/glamor/glamor.c b/glamor/glamor.c index 7eebba39a..d6d6d950a 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -102,7 +102,6 @@ glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth, PixmapPtr pixmap; GLenum format; GLuint tex; - glamor_pixmap_private *pixmap_priv; enum glamor_pixmap_type type = GLAMOR_GL; if (w > 32767 || h > 32767) diff --git a/glamor/glamor.h b/glamor/glamor.h index 33610a668..c49662e89 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -34,6 +34,7 @@ #include "gcstruct.h" #include "picturestr.h" #include "fb.h" +#include "fbpict.h" #endif /* GLAMOR_H */