diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-06-06 10:42:36 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-06-06 10:42:36 +0300 |
commit | 7eb2018a0bc898537d223306a215ff0edbe371b6 (patch) | |
tree | 7e205b01045427ae38492f75ff7475827df838d9 /source | |
parent | bb9647b703df488798c1cb9f86cb3966da8a8216 (diff) |
Fix Windows compiler error
This error was introduced in 176d7bcc2eb47b9820861037f90a7fb26de8c9a0
Fix provided by @deadpin
Diffstat (limited to 'source')
-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 76bb756bb30..94118be615c 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{0}).vbo) / sizeof(void *)) +#define MBC_IBO_LEN (sizeof((MeshBufferList{0}).ibo) / sizeof(void *)) #define MBC_BATCH_INDEX(batch) (offsetof(MeshBatchList, batch) / sizeof(void *)) |