diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-13 21:59:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-13 21:59:58 +0400 |
commit | c48c62a8314c51608e7b34ac0df474ce3fca0b02 (patch) | |
tree | 9d7e11b5fd56937d98d02bc5f1e19ba15380950f /source/blender/gpu | |
parent | 800e2283aa986c5cc57e833ef80569cf26d0de2f (diff) |
Code Cleanup: replace checks for ima->source with BKE_image_is_animated
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 72547bf801e..f3f304b0e04 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -1298,7 +1298,7 @@ void GPU_free_images_anim(void) if (G.main) for (ima=G.main->image.first; ima; ima=ima->id.next) - if (ELEM(ima->source, IMA_SRC_SEQUENCE, IMA_SRC_MOVIE)) + if (BKE_image_is_animated(ima)) GPU_free_image(ima); } |