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:
parent
7e06af1aa8
commit
d098087b06
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user