diff --git a/rpcs3/Emu/RSX/GL/gl_render_targets.h b/rpcs3/Emu/RSX/GL/gl_render_targets.h index e2d24c15be..6de4e4ae85 100644 --- a/rpcs3/Emu/RSX/GL/gl_render_targets.h +++ b/rpcs3/Emu/RSX/GL/gl_render_targets.h @@ -94,6 +94,7 @@ struct gl_render_target_traits .type(format.type) .format(format.format) .swizzle(format.swizzle.r, format.swizzle.g, format.swizzle.b, format.swizzle.a) + .wrap(gl::texture::wrap::clamp_to_border, gl::texture::wrap::clamp_to_border, gl::texture::wrap::clamp_to_border) .apply(); __glcheck result->pixel_pack_settings().swap_bytes(format.swap_bytes).aligment(1); @@ -120,6 +121,7 @@ struct gl_render_target_traits .type(format.type) .format(format.format) .internal_format(format.internal_format) + .wrap(gl::texture::wrap::clamp_to_border, gl::texture::wrap::clamp_to_border, gl::texture::wrap::clamp_to_border) .apply(); __glcheck result->pixel_pack_settings().aligment(1);