diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_vertex_format_private.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_vertex_format_private.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_vertex_format_private.h b/source/blender/gpu/intern/gpu_vertex_format_private.h index 45523c0e956..c09be94e8ba 100644 --- a/source/blender/gpu/intern/gpu_vertex_format_private.h +++ b/source/blender/gpu/intern/gpu_vertex_format_private.h @@ -29,10 +29,11 @@ extern "C" { #endif -void VertexFormat_pack(GPUVertFormat *format); +struct GPUVertFormat; + +void VertexFormat_pack(struct GPUVertFormat *format); uint padding(uint offset, uint alignment); -uint vertex_buffer_size(const GPUVertFormat *format, uint vertex_len); -GLenum convert_comp_type_to_gl(GPUVertCompType type); +uint vertex_buffer_size(const struct GPUVertFormat *format, uint vertex_len); #ifdef __cplusplus } |