Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a shutdown D3D12 function to correctly free the D3D12 resources #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mamoniem
Copy link

When closing a D3D12 based application, there will be some errors due to the optick resources. Would be called like so:

void ShutdownD3D12()
{
#ifdef WITH_OPTICK
	OPTICK_GPU_SHUTDOWN_D3D12();
#endif

//the rest of d3d12 shutting down
}

this pull related to #121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant