image.gl_touch: wasn't passing the parameters to gl_load

This commit is contained in:
Dalai Felinto 2012-05-28 18:32:18 +00:00
parent 47826118d1
commit 9fb4ca981e

@ -235,7 +235,7 @@ static int rna_Image_gl_touch(Image *image, ReportList *reports, int filter, int
BKE_image_tag_time(image);
if (*bind == 0)
error = rna_Image_gl_load(image, reports, GL_LINEAR_MIPMAP_NEAREST, GL_LINEAR);
error = rna_Image_gl_load(image, reports, filter, mag);
return error;
}