fix: fx stack fix blendFunc state
parent
836640decd
commit
ba60e86882
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue