diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-28 16:38:46 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-29 16:03:02 +0300 |
commit | 56d0a554a86e7ff3269ba9f1c4201559d5944b71 (patch) | |
tree | 3157525108eb29eadef42b94c0c41eda694fac95 /source/blender/gpu/GPU_uniformbuffer.h | |
parent | f84342d7e19f34bb445423cc8bf8267c1675a643 (diff) |
GPU: Move gpu_uniformbuffer.c to C++
This also rewrite and simplify the module a bit.
Diffstat (limited to 'source/blender/gpu/GPU_uniformbuffer.h')
-rw-r--r-- | source/blender/gpu/GPU_uniformbuffer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_uniformbuffer.h b/source/blender/gpu/GPU_uniformbuffer.h index b221ae035d3..6862c1d960d 100644 --- a/source/blender/gpu/GPU_uniformbuffer.h +++ b/source/blender/gpu/GPU_uniformbuffer.h @@ -42,8 +42,7 @@ void GPU_uniformbuffer_dynamic_update(GPUUniformBuffer *ubo_); void GPU_uniformbuffer_bind(GPUUniformBuffer *ubo, int number); void GPU_uniformbuffer_unbind(GPUUniformBuffer *ubo); - -int GPU_uniformbuffer_bindpoint(GPUUniformBuffer *ubo); +void GPU_uniformbuffer_unbind_all(void); bool GPU_uniformbuffer_is_empty(GPUUniformBuffer *ubo); bool GPU_uniformbuffer_is_dirty(GPUUniformBuffer *ubo); |