提交 d098087b 编写于 作者: J jp9000

Set default blend function to srcalpa/invsrcalpha

上级 7e06af1a
......@@ -104,6 +104,8 @@ static bool graphics_init(struct graphics_subsystem *graphics)
if (pthread_mutex_init(&graphics->mutex, NULL) != 0)
return false;
graphics->exports.device_blendfunction(graphics->device,
GS_BLEND_SRCALPHA, GS_BLEND_INVSRCALPHA);
graphics->exports.device_leavecontext(graphics->device);
gs_init_image_deps();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册