diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-22 05:58:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-22 05:58:07 +0400 |
commit | 049b6cfa6ddcc44d8001804922f041367f3051c6 (patch) | |
tree | c57f4aec1f85b037009036c22109b2a3330acdb3 /source/blender/gpu/GPU_draw.h | |
parent | 90db85a26301216d11c2adc956046b276ce8ef5f (diff) |
Fix for image garbage collection failing to run for render-only views
Check for freeing old images was running per-object, move this to viewport drawing.
Diffstat (limited to 'source/blender/gpu/GPU_draw.h')
-rw-r--r-- | source/blender/gpu/GPU_draw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index ee1eabc2a15..bdd70a49e7a 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -134,6 +134,7 @@ bool GPU_upload_dxt_texture(struct ImBuf *ibuf); void GPU_free_image(struct Image *ima); void GPU_free_images(void); void GPU_free_images_anim(void); +void GPU_free_images_old(void); /* smoke drawing functions */ void GPU_free_smoke(struct SmokeModifierData *smd); |