mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
vk: Silence compiler warning
This commit is contained in:
parent
38a1c8becb
commit
66909168ac
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ namespace vk
|
||||||
void descriptor_set::push(const descriptor_set_dynamic_offset_t& offset)
|
void descriptor_set::push(const descriptor_set_dynamic_offset_t& offset)
|
||||||
{
|
{
|
||||||
ensure(offset.location >= 0 && offset.location <= 16);
|
ensure(offset.location >= 0 && offset.location <= 16);
|
||||||
while (m_dynamic_offsets.size() < (offset.location + 1))
|
while (m_dynamic_offsets.size() < (static_cast<u32>(offset.location) + 1u))
|
||||||
{
|
{
|
||||||
m_dynamic_offsets.push_back(0);
|
m_dynamic_offsets.push_back(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue