forked from bartvdbraak/blender
image.gl_touch: wasn't passing the parameters to gl_load
This commit is contained in:
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);
|
BKE_image_tag_time(image);
|
||||||
|
|
||||||
if (*bind == 0)
|
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;
|
return error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user