st/mesa: remove unused variables to fix compile warnings
authorMarek Olšák <maraeo@gmail.com>
Mon, 8 Oct 2012 23:11:56 +0000 (01:11 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 8 Oct 2012 23:14:55 +0000 (01:14 +0200)
src/mesa/state_tracker/st_mesa_to_tgsi.c

index 5f056b9b1e84264f034b4e560ed6fc9b4b2d12ac..92f52671424573fd426a837bf03b21f911f0a710 100644 (file)
@@ -1169,7 +1169,6 @@ st_translate_mesa_program(
                 * inconsistency, we insert a U2F.
                 */
                struct st_context *st = st_context(ctx);
-               struct pipe_screen *pscreen = st->pipe->screen;
                assert(procType == TGSI_PROCESSOR_VERTEX);
                assert(pscreen->get_shader_param(pscreen, PIPE_SHADER_VERTEX, PIPE_SHADER_CAP_INTEGERS));
                if (!ctx->Const.NativeIntegers) {