diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-07 06:31:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-07 06:31:45 +0300 |
commit | 431a5b623e2c7309517bdcaf3e665c08a6c3e2d0 (patch) | |
tree | da13af2372007b908041483f692bdb27a3498a44 /source/blender/makesrna/intern/rna_image_api.c | |
parent | 42e86602721170c8fbb9d68a1a201a1d78052d72 (diff) |
Fix T47688: Regression in gl_load
Error caused by 771f73b6
Diffstat (limited to 'source/blender/makesrna/intern/rna_image_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_image_api.c | 2 |
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 eb8dd5a63d4..6530e0938f6 100644 --- a/source/blender/makesrna/intern/rna_image_api.c +++ b/source/blender/makesrna/intern/rna_image_api.c @@ -245,7 +245,7 @@ static int rna_Image_gl_load(Image *image, ReportList *reports, int frame, int f return (int)GL_INVALID_OPERATION; } - GPU_create_gl_tex(bind, ibuf->rect, ibuf->rect_float, GL_TEXTURE_2D, ibuf->x, ibuf->y, + GPU_create_gl_tex(bind, ibuf->rect, ibuf->rect_float, ibuf->x, ibuf->y, GL_TEXTURE_2D, (filter != GL_NEAREST && filter != GL_LINEAR), false, image); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, (GLint)filter); |