summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-04-18 23:44:24 -0700
committerVinson Lee <vlee@vmware.com>2010-04-18 23:44:24 -0700
commit11cea8196cfa0ee9a54dbca8e0c10e9d0d93bb2e (patch)
tree7ae2f2c87c4dbb9a8858e76dafad3210aad58b2d /src/gallium/drivers/nvfx
parent478f19ff49aa3164bdf915a8fa0411124f3b6d2a (diff)
nvfx: Fix include recursion.
Don't include nvfx_context.h and use a forward reference instead. nvfx_context.h includes nvfx_screen.h (itself).
Diffstat (limited to 'src/gallium/drivers/nvfx')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.h b/src/gallium/drivers/nvfx/nvfx_screen.h
index 127d8919af..5e1c3945ae 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.h
+++ b/src/gallium/drivers/nvfx/nvfx_screen.h
@@ -4,7 +4,8 @@
#include "util/u_double_list.h"
#include "nouveau/nouveau_screen.h"
#include "nv04_surface_2d.h"
-#include "nvfx_context.h"
+
+struct nvfx_context;
struct nvfx_screen {
struct nouveau_screen base;