diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-23 06:15:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-23 06:16:03 +0300 |
commit | 2e4f1b592f7d1b63ec012528997fab64f16c0416 (patch) | |
tree | e53da8d758e3f3454afd27064d2382260653e210 /source/blender/gpu/GPU_state.h | |
parent | 14d947dcadea7c9debe6c8a078a571eba6cb828c (diff) |
Cleanup: use eGPU prefix for GPU enum types
Diffstat (limited to 'source/blender/gpu/GPU_state.h')
-rw-r--r-- | source/blender/gpu/GPU_state.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/gpu/GPU_state.h b/source/blender/gpu/GPU_state.h index 057caffd17d..0dcd1a6132b 100644 --- a/source/blender/gpu/GPU_state.h +++ b/source/blender/gpu/GPU_state.h @@ -28,25 +28,25 @@ #define __GPU_STATE_H__ /* These map directly to the GL_ blend functions, to minimize API add as needed*/ -typedef enum GPUBlendFunction { +typedef enum eGPUBlendFunction { GPU_ONE, GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA, GPU_DST_COLOR, GPU_ZERO, -} GPUBlendFunction; +} eGPUBlendFunction; /* These map directly to the GL_ filter functions, to minimize API add as needed*/ -typedef enum GPUFilterFunction { +typedef enum eGPUFilterFunction { GPU_NEAREST, GPU_LINEAR -} GPUFilterFunction; +} eGPUFilterFunction; void GPU_blend(bool enable); -void GPU_blend_set_func(GPUBlendFunction sfactor, GPUBlendFunction dfactor); +void GPU_blend_set_func(eGPUBlendFunction sfactor, eGPUBlendFunction dfactor); void GPU_blend_set_func_separate( - GPUBlendFunction src_rgb, GPUBlendFunction dst_rgb, - GPUBlendFunction src_alpha, GPUBlendFunction dst_alpha); + eGPUBlendFunction src_rgb, eGPUBlendFunction dst_rgb, + eGPUBlendFunction src_alpha, eGPUBlendFunction dst_alpha); void GPU_depth_range(float near, float far); void GPU_depth_test(bool enable); bool GPU_depth_test_enabled(void); |