diff options
Diffstat (limited to 'source/blender/gpu/opengl/gl_index_buffer.hh')
-rw-r--r-- | source/blender/gpu/opengl/gl_index_buffer.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_index_buffer.hh b/source/blender/gpu/opengl/gl_index_buffer.hh index 0dbdaa6d398..85d52447bc6 100644 --- a/source/blender/gpu/opengl/gl_index_buffer.hh +++ b/source/blender/gpu/opengl/gl_index_buffer.hh @@ -61,6 +61,10 @@ class GLIndexBuf : public IndexBuf { return (index_type_ == GPU_INDEX_U16) ? 0xFFFFu : 0xFFFFFFFFu; } + void upload_data(void) override; + + void update_sub(uint start, uint len, const void *data) override; + private: bool is_active() const; |