Fix memcpy and VmaVector compile errors
This commit is contained in:
parent
10844a8f1c
commit
ffd093c993
1 changed files with 2 additions and 1 deletions
|
@ -718,6 +718,7 @@ void vmaDestroyImage(
|
|||
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
/*******************************************************************************
|
||||
CONFIGURATION SECTION
|
||||
|
@ -1300,7 +1301,7 @@ public:
|
|||
{
|
||||
if(&rhs != this)
|
||||
{
|
||||
Resize(rhs.m_Count);
|
||||
resize(rhs.m_Count);
|
||||
if(m_Count != 0)
|
||||
{
|
||||
memcpy(m_pArray, rhs.m_pArray, m_Count * sizeof(T));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue