summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-25 00:52:34 -0700
committerVinson Lee <[email protected]>2010-08-25 00:52:34 -0700
commit4e823197332604ca652ae6be21583725313f9f3d (patch)
tree11fc3ea02d4e9bd38c0cc64694905828ab52149b
parentfbc3a911e1cbbc39da4c3b0e3dc9f1b964bf7fbc (diff)
nvfx: Clean up header file inclusion in nvfx_screen.h.
Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.h b/src/gallium/drivers/nvfx/nvfx_screen.h
index 473a1127752..1b79235ae0d 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.h
+++ b/src/gallium/drivers/nvfx/nvfx_screen.h
@@ -1,11 +1,11 @@
#ifndef __NVFX_SCREEN_H__
#define __NVFX_SCREEN_H__
+#include "pipe/p_compiler.h"
#include "util/u_double_list.h"
#include "nouveau/nouveau_screen.h"
-#include "nvfx_context.h"
-struct nv04_2d_context;
+struct pipe_screen;
struct nvfx_screen {
struct nouveau_screen base;