General: Fix compilation for GCC
This commit is contained in:
parent
fd7afda1e8
commit
afab6c143c
16 changed files with 56 additions and 42 deletions
|
@ -1323,7 +1323,8 @@ void BufferCache<P>::UpdateVertexBuffer(u32 index) {
|
|||
return;
|
||||
}
|
||||
if (!gpu_memory->IsWithinGPUAddressRange(gpu_addr_end)) {
|
||||
address_size = gpu_memory->MaxContinousRange(gpu_addr_begin, address_size);
|
||||
address_size =
|
||||
static_cast<u32>(gpu_memory->MaxContinousRange(gpu_addr_begin, address_size));
|
||||
}
|
||||
const u32 size = address_size; // TODO: Analyze stride and number of vertices
|
||||
vertex_buffers[index] = Binding{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue