From e0528343999ae2c60dfb730de91dc699b7db1029 Mon Sep 17 00:00:00 2001 From: Rylie Pavlik Date: Wed, 13 Nov 2024 11:05:17 -0600 Subject: [PATCH] t/sdl_test: Fix SDL service Part-of: --- src/xrt/targets/sdl_test/sdl_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrt/targets/sdl_test/sdl_device.c b/src/xrt/targets/sdl_test/sdl_device.c index db9c85ddc..89cd5f10a 100644 --- a/src/xrt/targets/sdl_test/sdl_device.c +++ b/src/xrt/targets/sdl_test/sdl_device.c @@ -78,6 +78,7 @@ sdl_device_init(struct sdl_program *sp) // Name and type. xdev->name = XRT_DEVICE_GENERIC_HMD; xdev->device_type = XRT_DEVICE_TYPE_HMD; + xdev->hmd->view_count = 2; // Print name. snprintf(xdev->str, XRT_DEVICE_NAME_LEN, "SDL HMD");