Revert "libobs: libobs-d3d11: obs-filters: No excess alpha"
This reverts commit d91bd327d7
, which
broke alpha with sources, scenes, and filter, causing them all to become
opaque unintentionally.
This commit is contained in:
@@ -124,7 +124,7 @@ static inline void render_main_texture(struct obs_core_video *video,
|
||||
render_main_texture_name);
|
||||
|
||||
struct vec4 clear_color;
|
||||
vec4_set(&clear_color, 0.0f, 0.0f, 0.0f, 1.0f);
|
||||
vec4_set(&clear_color, 0.0f, 0.0f, 0.0f, 0.0f);
|
||||
|
||||
gs_set_render_target(video->render_textures[cur_texture], NULL);
|
||||
gs_clear(GS_CLEAR_COLOR, &clear_color, 1.0f, 0);
|
||||
|
Reference in New Issue
Block a user