mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-15 00:05:06 +00:00
gfx-shader: Actually fix the thing 93207d was supposed to fix
This commit is contained in:
parent
73edb7682b
commit
d5eadbc148
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ void gfx::shader::shader::render()
|
|||
gs_reset_blend_state();
|
||||
|
||||
gs_enable_blending(true);
|
||||
gs_blend_function_separate(GS_BLEND_SRCCOLOR, GS_BLEND_ZERO, GS_BLEND_SRCALPHA, GS_BLEND_ZERO);
|
||||
gs_blend_function_separate(GS_BLEND_ONE, GS_BLEND_ZERO, GS_BLEND_ONE, GS_BLEND_ZERO);
|
||||
gs_enable_color(true, true, true, true);
|
||||
while (gs_effect_loop(_shader.get_object(), _shader_tech.c_str())) {
|
||||
gs_draw_sprite(nullptr, 0, width(), height());
|
||||
|
|
Loading…
Reference in a new issue