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:
authorCampbell Barton <ideasman42@gmail.com>2018-07-02 19:27:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-02 19:27:05 +0300
commit9f80429ab6a83a37ad94cbeee7f6ede4dec84f1a (patch)
treec11aa3a1db4c77256483aa9c2a5c5d571de6d1dc /source/blender/gpu/GPU_state.h
parentc2814f5b28235f8cd621ea9dc965b37c97801d76 (diff)
Cleanup: use _f, _i suffix for GPU state API
Diffstat (limited to 'source/blender/gpu/GPU_state.h')
-rw-r--r--source/blender/gpu/GPU_state.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/gpu/GPU_state.h b/source/blender/gpu/GPU_state.h
index ee0216422b1..2d7ab6cd54c 100644
--- a/source/blender/gpu/GPU_state.h
+++ b/source/blender/gpu/GPU_state.h
@@ -44,7 +44,9 @@ typedef enum GPUFilterFunction {
void GPU_blend(bool enable);
void GPU_blend_set_func(GPUBlendFunction sfactor, GPUBlendFunction dfactor);
-void GPU_blend_set_func_separate(GPUBlendFunction src_rgb, GPUBlendFunction dst_rgb, GPUBlendFunction src_alpha, GPUBlendFunction dst_alpha);
+void GPU_blend_set_func_separate(
+ GPUBlendFunction src_rgb, GPUBlendFunction dst_rgb,
+ GPUBlendFunction src_alpha, GPUBlendFunction dst_alpha);
void GPU_depth_test(bool enable);
bool GPU_depth_test_enabled(void);
void GPU_line_smooth(bool enable);
@@ -53,9 +55,9 @@ void GPU_line_width(float width);
void GPU_point_size(float size);
void GPU_polygon_smooth(bool enable);
void GPU_scissor(int x, int y, int width, int height);
-void GPU_scissor_getf(float coords[4]);
-void GPU_scissor_geti(int coords[4]);
-void GPU_viewport_size_getf(float coords[4]);
-void GPU_viewport_size_geti(int coords[4]);
+void GPU_scissor_get_f(float coords[4]);
+void GPU_scissor_get_i(int coords[4]);
+void GPU_viewport_size_get_f(float coords[4]);
+void GPU_viewport_size_get_i(int coords[4]);
#endif /* __GPU_STATE_H__ */