Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/draw/intern/draw_manager.h')
-rw-r--r--source/blender/draw/intern/draw_manager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_manager.h b/source/blender/draw/intern/draw_manager.h
index 9ccc6832127..54e35c7e5c4 100644
--- a/source/blender/draw/intern/draw_manager.h
+++ b/source/blender/draw/intern/draw_manager.h
@@ -313,7 +313,7 @@ typedef struct DRWCallChunk {
struct DRWCallChunk *next; /* single-linked list */
uchar chunk_len;
uchar call_used;
- DRWCall calls[63];
+ DRWCall calls[126];
} DRWCallChunk;
typedef struct DRWCallSmallChunk {
@@ -322,9 +322,12 @@ typedef struct DRWCallSmallChunk {
uchar call_used;
/* Small chunk to avoid wasting too much memory
* on small shading groups. */
- DRWCall calls[5];
+ DRWCall calls[4];
} DRWCallSmallChunk;
+BLI_STATIC_ASSERT_ALIGN(DRWCallChunk, 16);
+BLI_STATIC_ASSERT_ALIGN(DRWCallSmallChunk, 16);
+
/* ------------- DRAW DEBUG ------------ */
typedef struct DRWDebugLine {