Revert "softpipe: squash warning"
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 22 Apr 2008 20:17:21 +0000 (21:17 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 22 Apr 2008 20:17:21 +0000 (21:17 +0100)
This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963.

Which broke the debug build.

src/gallium/drivers/softpipe/sp_state_fs.c

index 525cea9eed96e335261f5e0465cbc130e1fdf670..2921066ce3640475aadf032a14c69bdb203f24ae 100644 (file)
@@ -82,6 +82,7 @@ softpipe_bind_fs_state(struct pipe_context *pipe, void *fs)
 void
 softpipe_delete_fs_state(struct pipe_context *pipe, void *fs)
 {
+   struct softpipe_context *softpipe = softpipe_context(pipe);
    struct sp_fragment_shader *state = fs;
 
    assert(fs != softpipe->fs);