From fc776424a08cb73d6dc94ec1f1a026491c6ae2d3 Mon Sep 17 00:00:00 2001 From: Anusha Godavarthy Surya Date: Tue, 15 Oct 2019 11:34:15 +0530 Subject: [PATCH] Added unbind texture to samples and tests --- samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp index 2cb9877cac..0aa9ef2913 100644 --- a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp +++ b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp @@ -124,6 +124,7 @@ bool runTest(int argc, char** argv) { } } } + hipUnbindTexture(tex); hipFree(dData); hipFreeArray(array); return true;