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:
authorClément Foucault <foucault.clem@gmail.com>2020-07-28 00:56:43 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-29 16:03:02 +0300
commit959529d4b8a40da2701e488c2938b2175af4ce12 (patch)
treeb5aadcb8690924408101f459ee613921c63f12ef /source/blender/gpu/intern/gpu_vertex_format_private.h
parent18caaff149dc3f98067ac21ef631bcbc89697f9c (diff)
GPU: Move gpu_vertex_format.c to C++
Diffstat (limited to 'source/blender/gpu/intern/gpu_vertex_format_private.h')
-rw-r--r--source/blender/gpu/intern/gpu_vertex_format_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_vertex_format_private.h b/source/blender/gpu/intern/gpu_vertex_format_private.h
index 22373a6394a..7b560a35bd0 100644
--- a/source/blender/gpu/intern/gpu_vertex_format_private.h
+++ b/source/blender/gpu/intern/gpu_vertex_format_private.h
@@ -33,6 +33,7 @@ extern "C" {
void VertexFormat_pack(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);
#ifdef __cplusplus
}