mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-29 18:04:34 +00:00
Merge pull request #7 from duodenim/fix-compilation-errors
Fix memcpy and VmaVector compile errors
This commit is contained in:
commit
f7d1c9b0fe
@ -718,6 +718,7 @@ void vmaDestroyImage(
|
|||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
CONFIGURATION SECTION
|
CONFIGURATION SECTION
|
||||||
@ -1300,7 +1301,7 @@ public:
|
|||||||
{
|
{
|
||||||
if(&rhs != this)
|
if(&rhs != this)
|
||||||
{
|
{
|
||||||
Resize(rhs.m_Count);
|
resize(rhs.m_Count);
|
||||||
if(m_Count != 0)
|
if(m_Count != 0)
|
||||||
{
|
{
|
||||||
memcpy(m_pArray, rhs.m_pArray, m_Count * sizeof(T));
|
memcpy(m_pArray, rhs.m_pArray, m_Count * sizeof(T));
|
||||||
|
Loading…
Reference in New Issue
Block a user