summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-22 21:17:21 +0100
committerKeith Whitwell <[email protected]>2008-04-22 21:17:21 +0100
commit4ebede8c7f43a83adfc73dcca783de2e9efcd9ba (patch)
tree29eba4a5136f85827468395409f01afef173ded7 /src
parent0588858702d1a5c9c08573ea6817e2e149473cf6 (diff)
Revert "softpipe: squash warning"
This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963. Which broke the debug build.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_fs.c b/src/gallium/drivers/softpipe/sp_state_fs.c
index 525cea9eed9..2921066ce36 100644
--- a/src/gallium/drivers/softpipe/sp_state_fs.c
+++ b/src/gallium/drivers/softpipe/sp_state_fs.c
@@ -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);