r300g: fix warnings
authorMarek Olšák <maraeo@gmail.com>
Fri, 4 Dec 2009 15:06:16 +0000 (16:06 +0100)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 4 Dec 2009 17:23:59 +0000 (09:23 -0800)
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_winsys.h
src/gallium/winsys/drm/radeon/core/radeon_buffer.c

index 68a17dcb63dec2235c5a0e16bf04313a38cc3362..5b337f03ac49d71ec840ec0a035e4ca35e358192 100644 (file)
@@ -36,8 +36,8 @@
 #include "r300_screen.h"
 #include "r300_state_derived.h"
 #include "r300_state_invariant.h"
-
-#include "radeon_winsys.h"
+#include "r300_texture.h"
+#include "r300_winsys.h"
 
 static enum pipe_error r300_clear_hash_table(void* key, void* value,
                                              void* data)
index f86985841f3be60be7a4809b7d8cfa95008683a6..1ae6de70feeb8d460ab5c85c0a0fadf15dd37673 100644 (file)
@@ -35,6 +35,8 @@ extern "C" {
 #include "pipe/p_state.h"
 #include "pipe/internal/p_winsys_screen.h"
 
+#include "radeon_winsys.h"
+
 struct pipe_context* r300_create_context(struct pipe_screen* screen,
                                          struct radeon_winsys* radeon_winsys);
 
index 65f7babff2d3b127e627d725231caf668085fce9..0ca7b39255407c11c3e4c87258224030f2d15c58 100644 (file)
@@ -35,7 +35,9 @@
 #include "radeon_bo_gem.h"
 #include "softpipe/sp_texture.h"
 #include "r300_context.h"
+#include "util/u_math.h"
 #include <X11/Xutil.h>
+
 struct radeon_vl_context
 {
     Display *display;