From 342e73f90fc5c41af8db3a6e3dfdf1746f7f5bc4 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 24 Sep 2018 18:46:51 +0200 Subject: Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz. Differential Revision: https://developer.blender.org/D3719 --- source/blender/gpu/GPU_shader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/gpu/GPU_shader.h') diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index d14164e930e..1a1d40b32c2 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -73,7 +73,7 @@ void GPU_shader_free(GPUShader *shader); void GPU_shader_bind(GPUShader *shader); void GPU_shader_unbind(void); -/* Returns true if transform feedback was succesfully enabled. */ +/* Returns true if transform feedback was successfully enabled. */ bool GPU_shader_transform_feedback_enable(GPUShader *shader, unsigned int vbo_id); void GPU_shader_transform_feedback_disable(GPUShader *shader); @@ -197,7 +197,7 @@ typedef enum GPUBuiltinShader { GPU_SHADER_2D_IMAGE_SHUFFLE_COLOR, GPU_SHADER_2D_IMAGE_MASK_UNIFORM_COLOR, /** - * Draw texture with alpha. Take a 3D positon and a 2D texture coordinate for each vertex. + * Draw texture with alpha. Take a 3D position and a 2D texture coordinate for each vertex. * * \param alpha: uniform float * \param image: uniform sampler2D @@ -207,7 +207,7 @@ typedef enum GPUBuiltinShader { GPU_SHADER_3D_IMAGE_MODULATE_ALPHA, /** * Draw linearized depth texture relate to near and far distances. - * Take a 3D positon and a 2D texture coordinate for each vertex. + * Take a 3D position and a 2D texture coordinate for each vertex. * * \param znear: uniform float * \param zfar: uniform float -- cgit v1.2.3