[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15332] branches/apricot/source/blender/ gpu/intern/gpu_codegen.c: Apricot Branch: bug in GLSL code generation for nodes.

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Jun 23 20:10:31 CEST 2008


Revision: 15332
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15332
Author:   blendix
Date:     2008-06-23 20:09:51 +0200 (Mon, 23 Jun 2008)

Log Message:
-----------
Apricot Branch: bug in GLSL code generation for nodes.

Modified Paths:
--------------
    branches/apricot/source/blender/gpu/intern/gpu_codegen.c

Modified: branches/apricot/source/blender/gpu/intern/gpu_codegen.c
===================================================================
--- branches/apricot/source/blender/gpu/intern/gpu_codegen.c	2008-06-23 16:47:15 UTC (rev 15331)
+++ branches/apricot/source/blender/gpu/intern/gpu_codegen.c	2008-06-23 18:09:51 UTC (rev 15332)
@@ -1199,7 +1199,7 @@
 
 	if(in) {
 		for(i = 0; in[i].type != GPU_NONE; i++) {
-			gpu_node_input_socket(node, in);
+			gpu_node_input_socket(node, &in[i]);
 			totin++;
 		}
 	}





More information about the Bf-blender-cvs mailing list