mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[tests] Fixed memory leak in compute demo
This commit is contained in:
parent
8691d29185
commit
7aed861862
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue