From: Keith Whitwell Date: Tue, 22 Apr 2008 20:17:21 +0000 (+0100) Subject: Revert "softpipe: squash warning" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ebede8c7f43a83adfc73dcca783de2e9efcd9ba;p=mesa.git Revert "softpipe: squash warning" This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963. Which broke the debug build. --- 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);