The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/gl_client: Check if swapchain is not NULL.

authored by

Lubosz Sarnecki and committed by
Ryan Pavlik
af4c6a8b bd107095

+6
+6
src/xrt/compositor/client/comp_gl_client.c
··· 381 381 xrt_swapchain_destroy(&xsc); 382 382 return XRT_ERROR_OPENGL; 383 383 } 384 + 385 + if (sc == NULL) { 386 + U_LOG_E("Could not create OpenGL swapchain."); 387 + return XRT_ERROR_OPENGL; 388 + } 389 + 384 390 if (NULL == sc->base.base.acquire_image) { 385 391 sc->base.base.acquire_image = client_gl_swapchain_acquire_image; 386 392 }