0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

Set default blend function to srcalpa/invsrcalpha

This commit is contained in:
jp9000 2014-06-29 11:43:52 -07:00
parent 7e06af1aa8
commit d098087b06

View File

@ -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();