r300g: fix scons build
authorMarek Olšák <maraeo@gmail.com>
Sun, 14 Feb 2010 02:14:32 +0000 (03:14 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 14 Feb 2010 02:20:01 +0000 (03:20 +0100)
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_winsys.h

index 14820ca85471b513ba9be2d9cf73afc3de977c95..f631b4ed27f14cb08db8d8f2e863ed391a7f1f6e 100644 (file)
@@ -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)
 {
index f4a8ae120c89df90663d0ac572b7056764174b16..40fb8a95ca5c994f157879e06a0972466c8955a3 100644 (file)
@@ -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);