diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-04 02:41:39 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-04 15:11:04 +0300 |
commit | fb3b2ab709bfd3aa1e9a1c9db9d3ce05ed4e6c13 (patch) | |
tree | 5d10c62ae50b03b38fb76e592122d754f766e631 /source/blender/draw/intern/draw_manager.h | |
parent | b2f1a6587410d00ad3bbd22e045979f80048afe2 (diff) |
Cleanup: Remove unused code in sculpt_mode, workbench and draw manager
Diffstat (limited to 'source/blender/draw/intern/draw_manager.h')
-rw-r--r-- | source/blender/draw/intern/draw_manager.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/draw/intern/draw_manager.h b/source/blender/draw/intern/draw_manager.h index a70438a2d37..77cf6d20117 100644 --- a/source/blender/draw/intern/draw_manager.h +++ b/source/blender/draw/intern/draw_manager.h @@ -142,8 +142,6 @@ typedef enum { DRW_CALL_RANGE, /** Draw instances without any instancing attributes. */ DRW_CALL_INSTANCES, - /** Uses a callback to draw with any number of batches. */ - DRW_CALL_GENERATE, /** Generate a drawcall without any #GPUBatch. */ DRW_CALL_PROCEDURAL, } DRWCallType; @@ -166,10 +164,6 @@ typedef struct DRWCall { /* Count can be adjusted between redraw. If needed, we can add fixed count. */ uint *count; } instances; - struct { /* type == DRW_CALL_GENERATE */ - DRWCallGenerateFn *geometry_fn; - void *user_data; - } generate; struct { /* type == DRW_CALL_PROCEDURAL */ uint vert_count; GPUPrimType prim_type; |