From ff33caee87544e5954159d3c634b513be00025d6 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 18 Nov 2021 11:06:22 -0800 Subject: [PATCH] fixed a little mistake --- src/rlgl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlgl.h b/src/rlgl.h index edaab1aed..43576f07d 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -1815,7 +1815,7 @@ void rlSetBlendMode(int mode) case RL_BLEND_ADD_COLORS: glBlendFunc(GL_ONE, GL_ONE); glBlendEquation(GL_FUNC_ADD); break; case RL_BLEND_SUBTRACT_COLORS: glBlendFunc(GL_ONE, GL_ONE); glBlendEquation(GL_FUNC_SUBTRACT); break; case RL_BLEND_CUSTOM: glBlendFunc(RLGL.State.glBlendSrcFactor, RLGL.State.glBlendDstFactor); glBlendEquation(RLGL.State.glBlendEquation); break; - case RL_BLEND_CUSTOM: + case RL_BLEND_CUSTOM_SEPARATED: glBlendFuncSeparate( RLGL.State.glBlendSrcFactorColor, RLGL.State.glBlendDstFactorColor, RLGL.State.glBlendSrcFactorAlpha, RLGL.State.glBlendDstFactorAlpha,