From 8765dfccf725770007e3b4e6b24199fe8377df71 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 21 Apr 2012 14:14:58 +0000 Subject: style cleanup: correct typos --- source/blender/gpu/intern/gpu_extensions.c | 2 +- source/blender/gpu/intern/gpu_material.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 605b2d8901e..6c30c95f355 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -59,7 +59,7 @@ /* extensions used: * - texture border clamp: 1.3 core - * - fragement shader: 2.0 core + * - fragment shader: 2.0 core * - framebuffer object: ext specification * - multitexture 1.3 core * - arb non power of two: 2.0 core diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 56bee29e436..ab5f2040175 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -1830,8 +1830,8 @@ GPUShaderExport *GPU_shader_export(struct Scene *scene, struct Material *ma) } } - // now link fragement shader with library shader - // TBD: remove the function that are not used in the main function + /* now link fragment shader with library shader */ + /* TBD: remove the function that are not used in the main function */ liblen = (pass->libcode) ? strlen(pass->libcode) : 0; fraglen = strlen(pass->fragmentcode); shader->fragment = (char *)MEM_mallocN(liblen+fraglen+1, "GPUFragShader"); -- cgit v1.2.3