From 1933e97034a1774e37268035f67ca5973220e8c6 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 9 Jan 2011 01:33:14 -0800 Subject: [PATCH] dri/nouveau: Include mfeatures.h in files that perform feature tests. --- src/mesa/drivers/dri/nouveau/nouveau_driver.c | 2 ++ src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/mesa/drivers/dri/nouveau/nouveau_driver.c b/src/mesa/drivers/dri/nouveau/nouveau_driver.c index 27e2892f711..45630be7f6e 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_driver.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.c @@ -24,6 +24,8 @@ * */ +#include "main/mfeatures.h" + #include "nouveau_driver.h" #include "nouveau_context.h" #include "nouveau_fbo.h" diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c index 079b5d63e4c..b36b5788781 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c @@ -32,6 +32,7 @@ #include "main/framebuffer.h" #include "main/renderbuffer.h" #include "main/fbobject.h" +#include "main/mfeatures.h" static GLboolean set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) -- 2.30.2