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:
Diffstat (limited to 'source/blender/gpu/intern/gpu_state.c')
-rw-r--r--source/blender/gpu/intern/gpu_state.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_state.c b/source/blender/gpu/intern/gpu_state.c
index 767437a0255..133de52fc8a 100644
--- a/source/blender/gpu/intern/gpu_state.c
+++ b/source/blender/gpu/intern/gpu_state.c
@@ -31,7 +31,7 @@
#include "GPU_state.h"
#include "GPU_extensions.h"
-static GLenum gpu_get_gl_blendfunction(GPUBlendFunction blend)
+static GLenum gpu_get_gl_blendfunction(eGPUBlendFunction blend)
{
switch (blend) {
case GPU_ONE:
@@ -60,14 +60,14 @@ void GPU_blend(bool enable)
}
}
-void GPU_blend_set_func(GPUBlendFunction sfactor, GPUBlendFunction dfactor)
+void GPU_blend_set_func(eGPUBlendFunction sfactor, eGPUBlendFunction dfactor)
{
glBlendFunc(gpu_get_gl_blendfunction(sfactor), gpu_get_gl_blendfunction(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)
{
glBlendFuncSeparate(
gpu_get_gl_blendfunction(src_rgb),