mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
gl: Fix blur_intensity GL_INVALID_OPERATION error
blur_intensity is a float, so the cast needs to be f32 instead of s32
This commit is contained in:
parent
f0828ebbc0
commit
9ab4802d07
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ namespace gl
|
|||
program_handle.uniforms["timestamp"] = cmd.config.get_sinus_value();
|
||||
program_handle.uniforms["albedo"] = cmd.config.color;
|
||||
program_handle.uniforms["clip_bounds"] = cmd.config.clip_rect;
|
||||
program_handle.uniforms["blur_intensity"] = static_cast<s32>(cmd.config.blur_strength);
|
||||
program_handle.uniforms["blur_intensity"] = static_cast<f32>(cmd.config.blur_strength);
|
||||
overlay_pass::run(cmd_, viewport, target, gl::image_aspect::color, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue