diff --git a/tests/d3d11/test_d3d11_compute.cpp b/tests/d3d11/test_d3d11_compute.cpp index dbbdd583..87826581 100644 --- a/tests/d3d11/test_d3d11_compute.cpp +++ b/tests/d3d11/test_d3d11_compute.cpp @@ -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; }