mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[dxvk] Data buffer can now be created uninitialized
This commit is contained in:
parent
1f4d7ae747
commit
3d4304096b
@ -7,6 +7,11 @@ namespace dxvk {
|
||||
DxvkDataBuffer:: DxvkDataBuffer() { }
|
||||
DxvkDataBuffer::~DxvkDataBuffer() { }
|
||||
|
||||
DxvkDataBuffer::DxvkDataBuffer(
|
||||
size_t size) {
|
||||
m_data.resize(size);
|
||||
}
|
||||
|
||||
DxvkDataBuffer::DxvkDataBuffer(
|
||||
const void* data,
|
||||
size_t size) {
|
||||
|
@ -16,6 +16,8 @@ namespace dxvk {
|
||||
public:
|
||||
|
||||
DxvkDataBuffer();
|
||||
DxvkDataBuffer(
|
||||
size_t size);
|
||||
DxvkDataBuffer(
|
||||
const void* data,
|
||||
size_t size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user