Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2012-05-28 22:32:18 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-05-28 22:32:18 +0400
commit9fb4ca981e1bcc642c51311b156e51f51ab0ba4e (patch)
tree4a6d5df6f6e77afab19a63f50f53a57ab8bed0fc /source/blender/makesrna/intern/rna_image_api.c
parent47826118d1e95007e9d1b909b0e96d2c098a6990 (diff)
image.gl_touch: wasn't passing the parameters to gl_load
Diffstat (limited to 'source/blender/makesrna/intern/rna_image_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_image_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c
index 124a7a7e2b1..f84e213bfd0 100644
--- a/source/blender/makesrna/intern/rna_image_api.c
+++ b/source/blender/makesrna/intern/rna_image_api.c
@@ -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;
}