diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-01-24 17:33:34 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-01-26 18:36:04 +0300 |
commit | 8174ea2684b8d144de10508c1766117abe4b6a9a (patch) | |
tree | e361ebe995237fff0038f2654bcf4a6ee2eeabe1 /source/blender/gpu | |
parent | 3a3d68cd885ba6d9550c7b6ed6207a9d21380d93 (diff) |
Code cleanup: use GPUDataSource enum instead of int
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D1026
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h index 519fe84c82f..8b63af925a6 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 */ |