rsx/overlays: Remove redundant resize

This commit is contained in:
kd-11 2023-02-03 03:30:12 +03:00 committed by kd-11
parent 54f41095e9
commit 989e0f28d6

View File

@ -27,8 +27,8 @@ namespace rsx
{
static std::vector<vertex> generate_unit_quadrant(int num_patch_points, const float offset[2], const float scale[2])
{
std::vector<vertex> result;
result.resize(num_patch_points + 1);
ensure(num_patch_points >= 3);
std::vector<vertex> result(num_patch_points + 1);
// Set root vertex
result[0].vec2(offset[0], offset[1]);