gfx-shader: Actually fix the thing 93207d was supposed to fix

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-04-24 07:48:52 +02:00
parent 7e192f3f17
commit a553b39a6d

View file

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