tests: Fix uninitialized pDataSize for GetImageSubres and GetObjectInfo
diff --git a/tests/blit_tests.cpp b/tests/blit_tests.cpp
index 56213d7..d5b6793 100644
--- a/tests/blit_tests.cpp
+++ b/tests/blit_tests.cpp
@@ -350,7 +350,7 @@
{
XGL_SUBRESOURCE_LAYOUT layout;
- XGL_SIZE layout_size;
+ XGL_SIZE layout_size= sizeof(layout);
XGL_UINT x, y;
void *data;
@@ -428,7 +428,7 @@
*/
{
XGL_SUBRESOURCE_LAYOUT layout;
- XGL_SIZE layout_size;
+ XGL_SIZE layout_size = sizeof(layout);
XGL_UINT x, y;
void *data;