diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-24 19:46:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-24 19:48:29 +0300 |
commit | 342e73f90fc5c41af8db3a6e3dfdf1746f7f5bc4 (patch) | |
tree | 47fdb91d8e16b1c89f9ca358cb0172e862905ee1 /source/blender/gpu/GPU_shader.h | |
parent | 9682e43bf9e078165b3d4d52c6a19c430ec2cbf2 (diff) |
Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.
Differential Revision: https://developer.blender.org/D3719
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r-- | source/blender/gpu/GPU_shader.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |