mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-09 22:37:39 +08:00
SDL_openxr.h: Wrap some non-SDL pieces in !SDL_WIKI_DOCUMENTATION_SECTION.
This commit is contained in:
@@ -40,6 +40,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SDL_WIKI_DOCUMENTATION_SECTION
|
||||||
|
|
||||||
#if defined(OPENXR_H_)
|
#if defined(OPENXR_H_)
|
||||||
#define NO_SDL_OPENXR_TYPEDEFS 1
|
#define NO_SDL_OPENXR_TYPEDEFS 1
|
||||||
#endif /* OPENXR_H_ */
|
#endif /* OPENXR_H_ */
|
||||||
@@ -78,6 +80,9 @@ typedef enum XrResult {
|
|||||||
#define PFN_xrGetInstanceProcAddr SDL_FunctionPointer
|
#define PFN_xrGetInstanceProcAddr SDL_FunctionPointer
|
||||||
#endif /* NO_SDL_OPENXR_TYPEDEFS */
|
#endif /* NO_SDL_OPENXR_TYPEDEFS */
|
||||||
|
|
||||||
|
#endif /* !SDL_WIKI_DOCUMENTATION_SECTION */
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an OpenXR session.
|
* Creates an OpenXR session.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user