Mesa (master): nvfx: Add missing header and forward declaration.

Vinson Lee vlee at kemper.freedesktop.org
Mon Apr 19 06:09:52 UTC 2010


Module: Mesa
Branch: master
Commit: c628a2e0c7cbce10bd41203fd9ca1316da817cf5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c628a2e0c7cbce10bd41203fd9ca1316da817cf5

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Apr 18 23:09:31 2010 -0700

nvfx: Add missing header and forward declaration.

---

 src/gallium/drivers/nvfx/nv04_surface_2d.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/nvfx/nv04_surface_2d.h b/src/gallium/drivers/nvfx/nv04_surface_2d.h
index b2b237b..2123c3e 100644
--- a/src/gallium/drivers/nvfx/nv04_surface_2d.h
+++ b/src/gallium/drivers/nvfx/nv04_surface_2d.h
@@ -1,6 +1,10 @@
 #ifndef __NV04_SURFACE_2D_H__
 #define __NV04_SURFACE_2D_H__
 
+#include "pipe/p_state.h"
+
+struct nouveau_screen;
+
 struct nv04_surface {
 	struct pipe_surface base;
 	unsigned pitch;




More information about the mesa-commit mailing list