mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
rsx: Apply Clang-Tidy fix "readability-non-const-parameter"
This commit is contained in:
parent
35dc98be06
commit
349e7c8708
2 changed files with 2 additions and 2 deletions
|
@ -1942,7 +1942,7 @@ namespace gl
|
|||
return m_aspect_flags;
|
||||
}
|
||||
|
||||
bool compare_swizzle(GLenum* argb_swizzle) const
|
||||
bool compare_swizzle(const GLenum* argb_swizzle) const
|
||||
{
|
||||
return (argb_swizzle[0] == component_swizzle[3] &&
|
||||
argb_swizzle[1] == component_swizzle[0] &&
|
||||
|
|
|
@ -198,7 +198,7 @@ namespace vk
|
|||
m_program = std::make_unique<vk::glsl::program>((VkDevice)dev, pipeline, unused, unused);
|
||||
}
|
||||
|
||||
void load_program(vk::command_buffer &cmd, float scale_x, float scale_y, float *offsets, size_t nb_offsets, std::array<float, 4> color)
|
||||
void load_program(vk::command_buffer &cmd, float scale_x, float scale_y, const float *offsets, size_t nb_offsets, std::array<float, 4> color)
|
||||
{
|
||||
verify(HERE), m_used_descriptors < 120;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue