Fix assert to due missing GPU blend mode.

This commit is contained in:
Brecht Van Lommel 2018-06-28 13:46:30 +02:00
parent 89e0d9848a
commit 9b050b736b
1 changed files with 2 additions and 0 deletions

View File

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