summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-02-14 03:14:32 +0100
committerMarek Olšák <maraeo@gmail.com>2010-02-14 03:20:01 +0100
commit804a6d6a684e2a95e8b84c723a4096243c4fde1a (patch)
tree23a54d98071f2b0dc24c8971f6d2b7692901dfbc /src
parent85425b3b609c480cd024b217b1efd0b9153bed58 (diff)
r300g: fix scons build
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_context.c3
-rw-r--r--src/gallium/drivers/r300/r300_winsys.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 14820ca854..f631b4ed27 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -34,7 +34,8 @@
#include "r300_screen.h"
#include "r300_state_invariant.h"
#include "r300_texture.h"
-#include "r300_winsys.h"
+
+#include "radeon_winsys.h"
static void r300_destroy_context(struct pipe_context* context)
{
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h
index f4a8ae120c..40fb8a95ca 100644
--- a/src/gallium/drivers/r300/r300_winsys.h
+++ b/src/gallium/drivers/r300/r300_winsys.h
@@ -33,9 +33,8 @@ extern "C" {
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
-#include "util/u_simple_screen.h"
-#include "radeon_winsys.h"
+struct radeon_winsys;
/* Creates a new r300 screen. */
struct pipe_screen* r300_create_screen(struct radeon_winsys* radeon_winsys);