r600g: remove unused variable
authorBrian Paul <brianp@vmware.com>
Tue, 24 Jan 2012 18:15:23 +0000 (11:15 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 24 Jan 2012 18:15:23 +0000 (11:15 -0700)
src/gallium/drivers/r600/r600_pipe.c

index faa92cb8d3e295b4944bf2d118de6e5f1b2f3d58..3d85160c14c1135f15080a4eb33329f9543a6f2e 100644 (file)
@@ -456,7 +456,6 @@ static float r600_get_paramf(struct pipe_screen* pscreen,
 
 static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enum pipe_shader_cap param)
 {
-       struct r600_screen *rscreen = (struct r600_screen *)pscreen;
        switch(shader)
        {
        case PIPE_SHADER_FRAGMENT: