mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-20 04:56:07 +00:00
Fix reallocation of GPU renderer vertex buffer
(cherry picked from commit ed6a72a7fd)
This commit is contained in:
parent
e5b9dfd181
commit
35408a2126
1 changed files with 2 additions and 0 deletions
|
|
@ -620,6 +620,8 @@ static bool InitVertexBuffer(GPU_RenderData *data, Uint32 size)
|
|||
return false;
|
||||
}
|
||||
|
||||
data->vertices.buffer_size = size;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue