This commit is contained in:
terrarier2111 2023-01-05 13:30:20 +09:00 committed by GitHub
commit 68781f9348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ impl UIState {
// Prevent clipping with the world
gl::clear(gl::ClearFlags::Depth);
gl::enable(gl::BLEND);
gl::blend_func(gl::SRC_ALPHA, gl::ONE_MINUS_SRC_ALPHA);
gl::blend_func(gl::ONE_FACTOR, gl::ONE_MINUS_SRC_ALPHA);
self.shader.program.use_program();
self.shader.texture.set_int(0);