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-22 15:54:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-22 15:54:53 +0400
commit5c891386842037910f5d522c7d3ffb1792b804db (patch)
tree133e551d3bf684ea1ccaa8a7d56a4f57b879a95a /source/blender/gpu/intern/gpu_codegen.c
parent69d0a68f0d7ed82b9701c5a7832f609e4ea4fd75 (diff)
style cleanup: comments
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index a40452adfe7..fc3878e2532 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -388,7 +388,7 @@ static void codegen_set_unique_ids(ListBase *nodes)
((input->source == GPU_SOURCE_TEX) || (input->source == GPU_SOURCE_TEX_PIXEL))) {
if (input->link) {
/* input is texture from buffer, assign only one texid per
- buffer to avoid sampling the same texture twice */
+ * buffer to avoid sampling the same texture twice */
if (!BLI_ghash_haskey(bindhash, input->link)) {
input->texid = texid++;
input->bindtex = 1;
@@ -399,7 +399,7 @@ static void codegen_set_unique_ids(ListBase *nodes)
}
else if (input->ima) {
/* input is texture from image, assign only one texid per
- buffer to avoid sampling the same texture twice */
+ * buffer to avoid sampling the same texture twice */
if (!BLI_ghash_haskey(bindhash, input->ima)) {
input->texid = texid++;
input->bindtex = 1;
@@ -968,8 +968,8 @@ static void GPU_node_output(GPUNode *node, int type, const char *UNUSED(name), G
output->link->output = output;
/* note: the caller owns the reference to the linkfer, GPUOutput
- merely points to it, and if the node is destroyed it will
- set that pointer to NULL */
+ * merely points to it, and if the node is destroyed it will
+ * set that pointer to NULL */
}
BLI_addtail(&node->outputs, output);