mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
Fix reallocation of GPU renderer vertex buffer
This commit is contained in:

committed by
Sam Lantinga

parent
7840c9d879
commit
ed6a72a7fd
@@ -722,6 +722,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