diff --git a/src/raylib.h b/src/raylib.h index 876ee7dd8..490755e9c 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -807,7 +807,7 @@ typedef enum { BLEND_ALPHA = 0, // Blend textures considering alpha (default) BLEND_ADDITIVE, // Blend textures adding colors BLEND_MULTIPLIED, // Blend textures multiplying colors - BLEND_SET // Blend textures by setting colors + BLEND_ADD_COLORS // Blend textures adding colors (alternative) } BlendMode; // Gestures type diff --git a/src/rlgl.h b/src/rlgl.h index 4ce34dbda..8f4883ecc 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -383,7 +383,7 @@ typedef unsigned char byte; BLEND_ALPHA = 0, BLEND_ADDITIVE, BLEND_MULTIPLIED, - BLEND_SET + BLEND_ADD_COLORS } BlendMode; // Shader location point type @@ -3568,7 +3568,7 @@ void BeginBlendMode(int mode) case BLEND_ALPHA: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); break; case BLEND_ADDITIVE: glBlendFunc(GL_SRC_ALPHA, GL_ONE); break; case BLEND_MULTIPLIED: glBlendFunc(GL_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA); break; - case BLEND_SET: glBlendFunc(GL_ONE, GL_ONE); break; + case BLEND_ADD_COLORS: glBlendFunc(GL_ONE, GL_ONE); break; default: break; }