i915simple: Fix win9x build.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 19 May 2008 06:18:40 +0000 (15:18 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 19 May 2008 06:18:40 +0000 (15:18 +0900)
src/gallium/drivers/i915simple/i915_state.c

index 4adeb37e86005650c1eae2303d4a3661aa72df3c..e09c22590057495d11cfed701f66a2d6d315a669 100644 (file)
@@ -466,7 +466,7 @@ void i915_delete_fs_state(struct pipe_context *pipe, void *shader)
       FREE(ifs->program);
    ifs->program_len = 0;
 
-   FREE(ifs->state.tokens);
+   FREE((struct tgsi_token *)ifs->state.tokens);
 
    FREE(ifs);
 }