Skip to content
Snippets Groups Projects
Commit 1873d3a1 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz
Browse files

comp: Tidy code

parent df2b6da0
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,12 @@ ...@@ -19,6 +19,12 @@
#include "comp_vk_swapchain.h" #include "comp_vk_swapchain.h"
/*
*
* Types, defines and data.
*
*/
/*! /*!
* These formats will be 'preferred' - in future we may wish to give preference * These formats will be 'preferred' - in future we may wish to give preference
* to higher bit depths if they are available, but most display devices we are * to higher bit depths if they are available, but most display devices we are
......
...@@ -18,12 +18,16 @@ ...@@ -18,12 +18,16 @@
extern "C" { extern "C" {
#endif #endif
// since NVidia direct mode lets us 'acquire' any display, we need to
// be careful about which displays we attempt to acquire.
// We may wish to allow user configuration to extend this list.
XRT_MAYBE_UNUSED static const char *NV_DIRECT_WHITELIST[] = {
"Sony SIE HMD *08", "HTC Corporation HTC-VIVE"};
/*!
* Since NVidia direct mode lets us 'acquire' any display, we need to
* be careful about which displays we attempt to acquire.
* We may wish to allow user configuration to extend this list.
*/
XRT_MAYBE_UNUSED static const char *NV_DIRECT_WHITELIST[] = {
"Sony SIE HMD *08",
"HTC Corporation HTC-VIVE",
};
/*! /*!
* Window type to use. * Window type to use.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment