diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-06-11 12:36:09 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-06-11 14:55:02 +0300 |
commit | 228ba8475a17b2d0d87e5ef1f6b026027c1406cf (patch) | |
tree | 5ecf993c9133076a44f8103fd13117389976f78f /source/blender/draw/intern/draw_cache.h | |
parent | 0ec2e7ad53422746e6e39f15d72c0febb77ec630 (diff) |
DRW: Add cache reset.
This is a temporary solution to the use of the shared cache.
Ideally this cache should be per gl drawing context.
Diffstat (limited to 'source/blender/draw/intern/draw_cache.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache.h b/source/blender/draw/intern/draw_cache.h index 871da9203ca..e7ab847d42e 100644 --- a/source/blender/draw/intern/draw_cache.h +++ b/source/blender/draw/intern/draw_cache.h @@ -33,6 +33,7 @@ struct Object; struct PTCacheEdit; void DRW_shape_cache_free(void); +void DRW_shape_cache_reset(void); /* 3D cursor */ struct Gwn_Batch *DRW_cache_cursor_get(bool crosshair_lines); |