diff options
Diffstat (limited to 'source/blender/gpu/GPU_immediate.h')
-rw-r--r-- | source/blender/gpu/GPU_immediate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_immediate.h b/source/blender/gpu/GPU_immediate.h index 1373faa236b..0ee97349970 100644 --- a/source/blender/gpu/GPU_immediate.h +++ b/source/blender/gpu/GPU_immediate.h @@ -53,11 +53,13 @@ void pack(VertexFormat*); // unsigned attrib_idx(const VertexFormat*, const char* name); void bind_attrib_locations(const VertexFormat*, GLuint program); -extern PER_THREAD VertexFormat immVertexFormat; // so we don't have to copy or pass around +// --- immediate mode work-alike -------------------------------- void immInit(void); void immDestroy(void); +VertexFormat* immVertexFormat(void); // returns a cleared vertex format, ready for add_attrib + void immBindProgram(GLuint program); void immUnbindProgram(void); |