draw: Silence compiler warnings on Windows.
authorMichal Krol <michal@tungstengraphics.com>
Sun, 14 Sep 2008 17:04:53 +0000 (19:04 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Sun, 14 Sep 2008 17:04:53 +0000 (19:04 +0200)
src/gallium/auxiliary/draw/draw_vs_exec.c

index 8041705..79a19d6 100644 (file)
@@ -46,7 +46,7 @@
 struct exec_vertex_shader {
    struct draw_vertex_shader base;
    struct tgsi_exec_machine *machine;
-   struct tgsi_token *machine_tokens;
+   const struct tgsi_token *machine_tokens;
 };
 
 static struct exec_vertex_shader *exec_vertex_shader( struct draw_vertex_shader *vs )