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 16:38:46 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-29 16:03:02 +0300
commit56d0a554a86e7ff3269ba9f1c4201559d5944b71 (patch)
tree3157525108eb29eadef42b94c0c41eda694fac95 /source/blender/gpu/GPU_uniformbuffer.h
parentf84342d7e19f34bb445423cc8bf8267c1675a643 (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.h3
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);