replace IFLOOR with util_ifloor
[mesa.git] / src / mesa / state_tracker / st_atifs_to_tgsi.c
index 8c6b1fce4d3dc862df16aa96b0528d9fc5ec8541..2af2ad8d5f59cde0776835799d07efdaf0a9b285 100644 (file)
@@ -541,7 +541,7 @@ void
 st_init_atifs_prog(struct gl_context *ctx, struct gl_program *prog)
 {
    /* we know this is st_fragment_program, because of st_new_ati_fs() */
-   struct st_common_program *stfp = (struct st_common_program *) prog;
+   struct st_program *stfp = (struct st_program *) prog;
    struct ati_fragment_shader *atifs = stfp->ati_fs;
 
    unsigned pass, i, r, optype, arg;