1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 10:24:10 +01:00

[tests] Fixed memory leak in compute demo

This commit is contained in:
Philip Rebohle 2017-12-29 01:12:50 +01:00
parent 8691d29185
commit 7aed861862

View File

@ -167,5 +167,6 @@ int WINAPI WinMain(HINSTANCE hInstance,
context->Unmap(readBuffer.ptr(), 0);
std::cout << "Sum of the numbers 1 to " << srcData.size() << " = " << result << std::endl;
context->ClearState();
return 0;
}