i965: Fix warnings introduced in commit e24ef5ab.
authorMatt Turner <mattst88@gmail.com>
Sun, 6 Jul 2014 06:24:15 +0000 (23:24 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 7 Jul 2014 01:15:36 +0000 (18:15 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index c0756ad5690756a23a1e8bccc6ff8d6deee41e0e..4a3111ac69cb72e3874a32b4454801f51bc96618 100644 (file)
@@ -479,13 +479,12 @@ brw_update_sol_surface(struct brw_context *brw,
 static void
 brw_upload_wm_pull_constants(struct brw_context *brw)
 {
-   struct gl_context *ctx = &brw->ctx;
    struct brw_stage_state *stage_state = &brw->wm.base;
    /* BRW_NEW_FRAGMENT_PROGRAM */
    struct brw_fragment_program *fp =
       (struct brw_fragment_program *) brw->fragment_program;
    /* CACHE_NEW_WM_PROG */
-   struct gl_stage_prog_data *prog_data = &brw->wm.prog_data->base;
+   struct brw_stage_prog_data *prog_data = &brw->wm.prog_data->base;
 
    /* _NEW_PROGRAM_CONSTANTS */
    brw_upload_pull_constants(brw, BRW_NEW_SURFACES, &fp->program.Base,