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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
data->vertices.buffer_size = size;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user