nvfx: Clean up header file inclusion in nvfx_screen.h.
authorVinson Lee <vlee@vmware.com>
Wed, 25 Aug 2010 07:52:34 +0000 (00:52 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 25 Aug 2010 07:52:34 +0000 (00:52 -0700)
Remove nvfx_context.h.
Include p_compiler.h for INLINE symbol.

Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.

src/gallium/drivers/nvfx/nvfx_screen.h

index 473a1127752d440035716a929a6169b8c1c2a2fc..1b79235ae0d294d62c5329b99ccbc467dedc449b 100644 (file)
@@ -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;