st/oxr: oxr_session_gfx_gl.c to oxr_session_gfx_gl_xlib.c

This commit is contained in:
Jakob Bornecrantz 2022-05-02 15:57:22 +01:00 committed by Jakob Bornecrantz
parent bd06961188
commit f4c26bbabb
2 changed files with 3 additions and 4 deletions

View file

@ -54,12 +54,13 @@ if(XRT_HAVE_OPENGLES)
endif()
if(XRT_HAVE_OPENGL OR XRT_HAVE_OPENGLES)
target_sources(st_oxr PRIVATE oxr_session_gfx_gl.c oxr_swapchain_gl.c)
target_sources(st_oxr PRIVATE oxr_swapchain_gl.c)
target_link_libraries(st_oxr PUBLIC aux_ogl)
endif()
if(XRT_HAVE_XLIB)
target_compile_definitions(st_oxr PRIVATE XR_USE_PLATFORM_XLIB)
target_sources(st_oxr PRIVATE oxr_session_gfx_gl_xlib.c)
endif()
if(XRT_HAVE_EGL)

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020, Collabora, Ltd.
// Copyright 2018-2022, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
@ -49,6 +49,4 @@ oxr_session_populate_gl_xlib(struct oxr_logger *log,
#endif // XR_USE_PLATFORM_XLIB
//! @todo add the other OpenGL graphics binding structs here
#endif // XR_USE_GRAPHICS_API_OPENGL