mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
rsx: Apply Clang-Tidy fix "readability-container-size-empty"
This commit is contained in:
parent
c4667133c4
commit
81a3b49c2f
6 changed files with 11 additions and 11 deletions
|
@ -771,7 +771,7 @@ namespace rsx
|
|||
|
||||
gsl::span<const gsl::byte> thread::get_raw_index_array(const draw_clause& draw_indexed_clause) const
|
||||
{
|
||||
if (element_push_buffer.size())
|
||||
if (!element_push_buffer.empty())
|
||||
{
|
||||
//Indices provided via immediate mode
|
||||
return{(const gsl::byte*)element_push_buffer.data(), ::narrow<u32>(element_push_buffer.size() * sizeof(u32))};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue