IDXGIAdapter

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
aslanbey0158
Posts: 52
Joined: April 15th, 2017, 10:48 am

IDXGIAdapter

Post by aslanbey0158 » March 13th, 2020, 8:27 pm

Hello.
I am trying to work above yumtard's project
At this point i have problem with graphic card therefore i try adding IDXGIAdapter.
if i solve this problem, i suppose solve other problems on behalf of me
Attachments
hw3D - 14.rar
(73.96 KiB) Downloaded 148 times

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: IDXGIAdapter

Post by albinopapa » March 14th, 2020, 6:47 am

A couple things.

1) Missing Window::HrException::GetErrorDescription function definition.
2) When quitting the program, I get an exception thrown from released DX interfaces. When you use Microsoft::WRL::ComPtr you do not have to call Release(), ComPtr is a smart pointer like unique_ptr or shared_ptr, it will release the resources for you. Since that is all you're doing in Graphics, you can just get rid of the Graphics::~Graphics() destructor in Graphics.cpp and ~Graphics(); in Graphics.h files.

After fixing those two things, the program runs and exits without errors for me.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Post Reply