I am learning DirectX. I have just finished my first application, but I have ran into a problem.
I am not sure if this is enough info (if it isn't ask me what you need to know):
It does compile in VS 2013, but when I call
result = E_FAIL;
device3d->Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0, 255, 0), 1.0f, 0);
result = device3d->Present(NULL, NULL, NULL, NULL);
It says this:
Unhandled exception at 0x011719C6 in Game.exe: 0xC0000005: Access violation reading location 0x00000000.
I am not sure what to do.
Thanks for your help!
EDIT: FIXED IT
Last edited on
Topic archived. No new replies allowed.