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:
authorNicholas Bishop <nicholasbishop@gmail.com>2015-01-24 17:33:34 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2015-01-26 18:36:04 +0300
commit8174ea2684b8d144de10508c1766117abe4b6a9a (patch)
treee361ebe995237fff0038f2654bcf4a6ee2eeabe1 /source/blender/gpu/intern/gpu_codegen.h
parent3a3d68cd885ba6d9550c7b6ed6207a9d21380d93 (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/intern/gpu_codegen.h')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.h2
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 */