softpipe: remove unused #includes, white-space clean-up
authorBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 19:47:50 +0000 (13:47 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 19:47:50 +0000 (13:47 -0600)
src/gallium/drivers/softpipe/sp_state_fs.c

index a055d6295fedfe6ea45cfa1592f789e0cde4e1ac..256faa94b84207cda61ca4b27bdb712cd3a4a8eb 100644 (file)
@@ -31,8 +31,6 @@
 
 #include "pipe/p_defines.h"
 #include "util/u_memory.h"
-#include "pipe/internal/p_winsys_screen.h"
-#include "pipe/p_shader_tokens.h"
 #include "draw/draw_context.h"
 #include "draw/draw_vs.h"
 #include "tgsi/tgsi_dump.h"
@@ -128,7 +126,7 @@ softpipe_bind_vs_state(struct pipe_context *pipe, void *vs)
 {
    struct softpipe_context *softpipe = softpipe_context(pipe);
 
-   softpipe->vs = (struct sp_vertex_shader *)vs;
+   softpipe->vs = (struct sp_vertex_shader *) vs;
 
    draw_bind_vertex_shader(softpipe->draw,
                            (softpipe->vs ? softpipe->vs->draw_data : NULL));
@@ -142,8 +140,7 @@ softpipe_delete_vs_state(struct pipe_context *pipe, void *vs)
 {
    struct softpipe_context *softpipe = softpipe_context(pipe);
 
-   struct sp_vertex_shader *state =
-      (struct sp_vertex_shader *)vs;
+   struct sp_vertex_shader *state = (struct sp_vertex_shader *) vs;
 
    draw_delete_vertex_shader(softpipe->draw, state->draw_data);
    FREE( state );