summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-18 23:09:31 -0700
committerVinson Lee <[email protected]>2010-04-18 23:09:31 -0700
commitc628a2e0c7cbce10bd41203fd9ca1316da817cf5 (patch)
tree17abc17bb59b0f09d0c1842c26788ca6859497e8 /src/gallium/drivers/nvfx
parentb2fc6234973414f8881b534719380ea6a9f5c03d (diff)
nvfx: Add missing header and forward declaration.
Diffstat (limited to 'src/gallium/drivers/nvfx')
-rw-r--r--src/gallium/drivers/nvfx/nv04_surface_2d.h4
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 b2b237b9dfa..2123c3ed08b 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;