mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
rsx/overlays: Remove redundant resize
This commit is contained in:
parent
54f41095e9
commit
989e0f28d6
1 changed files with 2 additions and 2 deletions
|
@ -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])
|
static std::vector<vertex> generate_unit_quadrant(int num_patch_points, const float offset[2], const float scale[2])
|
||||||
{
|
{
|
||||||
std::vector<vertex> result;
|
ensure(num_patch_points >= 3);
|
||||||
result.resize(num_patch_points + 1);
|
std::vector<vertex> result(num_patch_points + 1);
|
||||||
|
|
||||||
// Set root vertex
|
// Set root vertex
|
||||||
result[0].vec2(offset[0], offset[1]);
|
result[0].vec2(offset[0], offset[1]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue