jpvanoosten / LearningDirectX12

This repository is intended to be used as a code repository for learning DirectX 12.

Home Page:https://www.3dgep.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unhandled Exception on CreateCommittedResource.

pyboers opened this issue · comments

My bad, the issue is only the .zip for the tutorials2 download. ThrowIfFailed(device->CreateCommittedResource( &CD3DX12_HEAP_PROPERTIES(D3D12_HEAP_TYPE_DEFAULT), D3D12_HEAP_FLAG_NONE, &CD3DX12_RESOURCE_DESC::Buffer(bufferSize, flags), D3D12_RESOURCE_STATE_GENERIC_READ, nullptr, IID_PPV_ARGS(pDestinationResource)));
in Tutorial2.cpp