st/mesa: remove duplicate calculation of fp input mapping

This was being calculated the same way in two different places.
Now just do it in st_translate_fragment_program().
This commit is contained in:
Keith Whitwell
2010-02-01 20:42:34 +00:00
parent d51b04320d
commit e1906ae98e
5 changed files with 12 additions and 37 deletions

View File

@@ -221,7 +221,7 @@ combined_bitmap_fragment_program(GLcontext *ctx)
#endif
/* translate to TGSI tokens */
st_translate_fragment_program(st, stfp->bitmap_program, NULL);
st_translate_fragment_program(st, stfp->bitmap_program);
}
return stfp->bitmap_program;