mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
Set default values for blend state structure
This commit is contained in:
parent
7dfb26eb31
commit
9fc05e2a1d
@ -106,6 +106,10 @@ static bool graphics_init(struct graphics_subsystem *graphics)
|
||||
|
||||
graphics->exports.device_blendfunction(graphics->device,
|
||||
GS_BLEND_SRCALPHA, GS_BLEND_INVSRCALPHA);
|
||||
graphics->cur_blend_state.enabled = true;
|
||||
graphics->cur_blend_state.src = GS_BLEND_SRCALPHA;
|
||||
graphics->cur_blend_state.dest = GS_BLEND_INVSRCALPHA;
|
||||
|
||||
graphics->exports.device_leavecontext(graphics->device);
|
||||
|
||||
gs_init_image_deps();
|
||||
|
Loading…
Reference in New Issue
Block a user