From c0602a2b8f601cb232186b9e6f4619e86526eef2 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Thu, 23 Oct 2014 15:18:50 -0600 Subject: [PATCH] Destroy device before calling 2nd initAndEnum... --- tests/render_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/render_tests.cpp b/tests/render_tests.cpp index 60b47d4e..6dd4171e 100644 --- a/tests/render_tests.cpp +++ b/tests/render_tests.cpp @@ -255,8 +255,8 @@ protected: } virtual void TearDown() { - xglInitAndEnumerateGpus(&this->app_info, XGL_NULL_HANDLE, 0, &gpu_count, XGL_NULL_HANDLE); m_device->destroy_device(); + xglInitAndEnumerateGpus(&this->app_info, XGL_NULL_HANDLE, 0, &gpu_count, XGL_NULL_HANDLE); } };