renamed BLEND_SET to BLEND_ADD_COLORS

This commit is contained in:
RandomErrorMessage 2020-05-16 04:36:59 -07:00
parent 6b21438ce8
commit 0dbc916220
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;
}