Fix reallocation of GPU renderer vertex buffer
(cherry picked from commit ed6a72a7fd)
This commit is contained in:
1 parent
e5b9dfd181
commit
35408a2126
1 file changed
+2
@@ -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