mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 00:18:23 +00:00
rsx/overlays: Remove redundant resize
This commit is contained in:
parent
54f41095e9
commit
989e0f28d6
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user