Fix assert to due missing GPU blend mode.
This commit is contained in:
parent
89e0d9848a
commit
9b050b736b
|
@ -37,6 +37,8 @@ static GLenum gpu_get_gl_blendfunction(GPUBlendFunction blend)
|
|||
return GL_SRC_ALPHA;
|
||||
case GPU_ONE_MINUS_SRC_ALPHA:
|
||||
return GL_ONE_MINUS_SRC_ALPHA;
|
||||
case GPU_DST_COLOR:
|
||||
return GL_DST_COLOR;
|
||||
case GPU_ZERO:
|
||||
return GL_ZERO;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue