From eff8cc9cccdaa7248d9d869473704e9db69c2f41 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 14 Apr 2019 10:48:42 +0200 Subject: Cleanup: doxy comments Use doxy references to function and enums, also correct some names which became out of sync. --- source/blender/gpu/GPU_immediate.h | 6 ++++-- source/blender/gpu/intern/gpu_uniformbuffer.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/GPU_immediate.h b/source/blender/gpu/GPU_immediate.h index 57912c01991..b7d2901daeb 100644 --- a/source/blender/gpu/GPU_immediate.h +++ b/source/blender/gpu/GPU_immediate.h @@ -124,8 +124,10 @@ void immUniformColor3ubv(const unsigned char rgb[3]); void immUniformColor3ubvAlpha(const unsigned char rgb[3], unsigned char a); void immUniformColor4ubv(const unsigned char rgba[4]); -/* Extend immBindProgram to use Blender’s library of built-in shader programs. - * Use immUnbindProgram() when done. */ +/** + * Extend #immBindProgram to use Blender’s library of built-in shader programs. + * Use #immUnbindProgram() when done. + */ void immBindBuiltinProgram(eGPUBuiltinShader shader_id); /* Extend immUniformColor to take Blender's themes */ diff --git a/source/blender/gpu/intern/gpu_uniformbuffer.c b/source/blender/gpu/intern/gpu_uniformbuffer.c index 47539724a26..a5559b2558a 100644 --- a/source/blender/gpu/intern/gpu_uniformbuffer.c +++ b/source/blender/gpu/intern/gpu_uniformbuffer.c @@ -107,7 +107,7 @@ GPUUniformBuffer *GPU_uniformbuffer_create(int size, const void *data, char err_ * Create dynamic UBO from parameters * Return NULL if failed to create or if \param inputs: is empty. * - * \param inputs: ListBase of BLI_genericNodeN(GPUInput) + * \param inputs: ListBase of #BLI_genericNodeN(#GPUInput). */ GPUUniformBuffer *GPU_uniformbuffer_dynamic_create(ListBase *inputs, char err_out[256]) { -- cgit v1.2.3