From d126ffbea4fc549072100022c8be15bd4e3f62ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 11 Sep 2017 23:15:29 +0200 Subject: DRW: Use static list (array) of texture/ubo to track bound textures/ubos. This is in order to use the same texture on multiple sampler. Also texture counter is reset after each shading group. This mimics the previous behaviour. --- source/blender/gpu/GPU_uniformbuffer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/gpu/GPU_uniformbuffer.h') diff --git a/source/blender/gpu/GPU_uniformbuffer.h b/source/blender/gpu/GPU_uniformbuffer.h index 57c4612c865..c2480f8ba03 100644 --- a/source/blender/gpu/GPU_uniformbuffer.h +++ b/source/blender/gpu/GPU_uniformbuffer.h @@ -46,9 +46,7 @@ void GPU_uniformbuffer_update(GPUUniformBuffer *ubo, const void *data); void GPU_uniformbuffer_dynamic_update(GPUUniformBuffer *ubo_); void GPU_uniformbuffer_bind(GPUUniformBuffer *ubo, int number); -#if 0 void GPU_uniformbuffer_unbind(GPUUniformBuffer *ubo); -#endif int GPU_uniformbuffer_bindpoint(GPUUniformBuffer *ubo); -- cgit v1.2.3