summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/pke-test-static-ui.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/pke-test-static-ui.cpp b/tests/pke-test-static-ui.cpp
index 09affb9..6ad1a60 100644
--- a/tests/pke-test-static-ui.cpp
+++ b/tests/pke-test-static-ui.cpp
@@ -27,12 +27,14 @@ struct pke_ui_flex_params {
static pk_membucket *bkt;
+static VkExtent2D test_extent = { 1920, 1080 };
+
void pke_test_static_ui_setup() {
pke_test_stub_init_vulkan();
bkt = pk_mem_bucket_create("pke_test_static_ui", PK_MEM_DEFAULT_BUCKET_SIZE, PK_MEMBUCKET_FLAG_NONE);
pk_mem_bucket_set_client_mem_bucket(bkt);
- Extent.width = 1920;
- Extent.height = 1080;
+ Extent.width = test_extent.width;
+ Extent.height = test_extent.height;
pk_ev_init(nullptr);
ECS_Init();
pke_input_init();