mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-04 19:17:54 +00:00
fix(capture/linux): move CUDA includes before declarations
This commit is contained in:
1 parent
d8b3f81fc8
commit
1122f837b4
1 file changed
+10
-8
@@ -7,6 +7,16 @@
|
||||
// standard includes
|
||||
#include <cstdint>
|
||||
|
||||
#if defined(SUNSHINE_BUILD_CUDA)
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// local includes
|
||||
#include "src/video_colorspace.h"
|
||||
#endif
|
||||
|
||||
namespace cuda::nvfbc {
|
||||
/**
|
||||
* @brief Decide whether NvFBC should offer the whole virtual desktop as a display.
|
||||
@@ -26,14 +36,6 @@ namespace cuda::nvfbc {
|
||||
} // namespace cuda::nvfbc
|
||||
|
||||
#if defined(SUNSHINE_BUILD_CUDA)
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// local includes
|
||||
#include "src/video_colorspace.h"
|
||||
|
||||
namespace platf {
|
||||
struct avcodec_encode_device_t;
|
||||
struct img_t;
|
||||
|
||||
Reference in new issue
Block a user