diff options
-rw-r--r-- | source/blender/draw/intern/draw_cache_extract.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract.hh b/source/blender/draw/intern/draw_cache_extract.hh index 94118be615c..c7127d169e1 100644 --- a/source/blender/draw/intern/draw_cache_extract.hh +++ b/source/blender/draw/intern/draw_cache_extract.hh @@ -196,8 +196,8 @@ struct MeshBatchList { }; #define MBC_BATCH_LEN (sizeof(MeshBatchList) / sizeof(void *)) -#define MBC_VBO_LEN (sizeof((MeshBufferList{0}).vbo) / sizeof(void *)) -#define MBC_IBO_LEN (sizeof((MeshBufferList{0}).ibo) / sizeof(void *)) +#define MBC_VBO_LEN (sizeof(MeshBufferList::vbo) / sizeof(void *)) +#define MBC_IBO_LEN (sizeof(MeshBufferList::ibo) / sizeof(void *)) #define MBC_BATCH_INDEX(batch) (offsetof(MeshBatchList, batch) / sizeof(void *)) |