fix: fx stack fix blendFunc state

main
Dominik Madarász 2024-04-18 09:13:11 +02:00
parent 836640decd
commit ba60e86882
3 changed files with 3 additions and 3 deletions

View File

@ -385286,7 +385286,7 @@ bool postfx_end(postfx *fx) {
postfx_rs.depth_test_enabled = 0;
postfx_rs.cull_face_enabled = 0;
postfx_rs.blend_enabled = 1;
postfx_rs.blend_src = GL_SRC_ALPHA;
postfx_rs.blend_src = GL_ONE;
postfx_rs.blend_dst = GL_ONE_MINUS_SRC_ALPHA;
}

View File

@ -2652,7 +2652,7 @@ bool postfx_end(postfx *fx) {
postfx_rs.depth_test_enabled = 0;
postfx_rs.cull_face_enabled = 0;
postfx_rs.blend_enabled = 1;
postfx_rs.blend_src = GL_SRC_ALPHA;
postfx_rs.blend_src = GL_ONE;
postfx_rs.blend_dst = GL_ONE_MINUS_SRC_ALPHA;
}

View File

@ -19825,7 +19825,7 @@ bool postfx_end(postfx *fx) {
postfx_rs.depth_test_enabled = 0;
postfx_rs.cull_face_enabled = 0;
postfx_rs.blend_enabled = 1;
postfx_rs.blend_src = GL_SRC_ALPHA;
postfx_rs.blend_src = GL_ONE;
postfx_rs.blend_dst = GL_ONE_MINUS_SRC_ALPHA;
}