[Bf-blender-cvs] [8174ea2] master: Code cleanup: use GPUDataSource enum instead of int
Nicholas Bishop
noreply at git.blender.org
Mon Jan 26 16:42:08 CET 2015
Commit: 8174ea2684b8d144de10508c1766117abe4b6a9a
Author: Nicholas Bishop
Date: Sat Jan 24 15:33:34 2015 +0100
Branches: master
https://developer.blender.org/rB8174ea2684b8d144de10508c1766117abe4b6a9a
Code cleanup: use GPUDataSource enum instead of int
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D1026
===================================================================
M source/blender/gpu/intern/gpu_codegen.h
===================================================================
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h
index 519fe84..8b63af9 100644
--- a/source/blender/gpu/intern/gpu_codegen.h
+++ b/source/blender/gpu/intern/gpu_codegen.h
@@ -124,7 +124,7 @@ typedef struct GPUInput {
GPUNode *node;
GPUType type; /* datatype */
- int source; /* data source */
+ GPUDataSource source; /* data source */
int id; /* unique id as created by code generator */
int texid; /* number for multitexture, starting from zero */
More information about the Bf-blender-cvs
mailing list