mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-04 04:54:42 +00:00
Fix reallocation of GPU renderer vertex buffer
(cherry picked from commit ed6a72a7fd)
This commit is contained in:
committed by
Sam Lantinga
parent
e5b9dfd181
commit
35408a2126
@@ -620,6 +620,8 @@ static bool InitVertexBuffer(GPU_RenderData *data, Uint32 size)
|
||||
return false;
|
||||
}
|
||||
|
||||
data->vertices.buffer_size = size;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user