mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-04-05 16:40:17 +02:00
22 lines
400 B
C++
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);
|
|
}
|
|
|
|
} |