Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-21 18:14:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-21 18:14:58 +0400
commit8765dfccf725770007e3b4e6b24199fe8377df71 (patch)
tree280d5c199e0c037bb9a3f9f193bd70a411a8b8b5 /source/blender/gpu
parent1c54eaecd89ba30500e7b83adaf1c1a8a85c0b43 (diff)
style cleanup: correct typos
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
-rw-r--r--source/blender/gpu/intern/gpu_material.c4
2 files changed, 3 insertions, 3 deletions
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");