1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-04-05 16:40:17 +02:00
dxvk/src/dxvk/dxvk_data.cpp
2017-12-12 15:39:20 +01:00

22 lines
400 B
C++

#include <cstring>
#include "dxvk_data.h"
namespace dxvk {
DxvkDataBuffer:: DxvkDataBuffer() { }
DxvkDataBuffer::~DxvkDataBuffer() { }
DxvkDataBuffer::DxvkDataBuffer(
size_t size) {
m_data.resize(size);
}
DxvkDataBuffer::DxvkDataBuffer(
const void* data,
size_t size) {
m_data.resize(size);
std::memcpy(m_data.data(), data, size);
}
}