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:
parent
8691d29185
commit
7aed861862
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user