misc: Use XGL_API_VERSION instead of hard coded value
diff --git a/tests/image_tests.cpp b/tests/image_tests.cpp
index a290bd0..fd62f0e 100644
--- a/tests/image_tests.cpp
+++ b/tests/image_tests.cpp
@@ -92,7 +92,7 @@
this->app_info.appVersion = 1;
this->app_info.pEngineName = "unittest";
this->app_info.engineVersion = 1;
- this->app_info.apiVersion = XGL_MAKE_VERSION(0, 22, 0);
+ this->app_info.apiVersion = XGL_API_VERSION;
err = xglCreateInstance(&app_info, NULL, &this->inst);
ASSERT_XGL_SUCCESS(err);