diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-14 14:45:55 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-14 14:54:05 +0300 |
commit | bf45a46f814092cf8b03909ad2d30f4a17b62f10 (patch) | |
tree | cd10307f73680ba8bfe0a5648059b042af94b213 /source/blender/gpu/GPU_vertex_buffer.h | |
parent | 6bb7eb17065100a8ff6bb9eee2f3f7448e89e674 (diff) |
GPU: Fixup and add assert to GPU_VERT_ATTR_NAMES_BUF_LEN
Diffstat (limited to 'source/blender/gpu/GPU_vertex_buffer.h')
-rw-r--r-- | source/blender/gpu/GPU_vertex_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_vertex_buffer.h b/source/blender/gpu/GPU_vertex_buffer.h index 3e178e193dc..58d48a18fc5 100644 --- a/source/blender/gpu/GPU_vertex_buffer.h +++ b/source/blender/gpu/GPU_vertex_buffer.h @@ -55,7 +55,7 @@ typedef struct GPUVertBuf { /** 0 indicates not yet allocated. */ uint32_t vbo_id; /** Usage hint for GL optimisation. */ - uint usage : 2; + GPUUsageType usage : 2; /** Data has been touched and need to be reuploaded to GPU. */ uint dirty : 1; unsigned char *data; /* NULL indicates data in VRAM (unmapped) */ |