diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-16 04:50:36 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-17 00:00:47 +0100 |
commit | 7bf4bec257dffb633d818fb1a7ade6b899ec79a5 (patch) | |
tree | 79572d3f31bb42d89df8552bd7d45ff37b189814 /src/input_common/drivers/camera.h | |
parent | Merge pull request #9431 from liamwhite/sixty-five-oh-two (diff) | |
download | yuzu-7bf4bec257dffb633d818fb1a7ade6b899ec79a5.tar yuzu-7bf4bec257dffb633d818fb1a7ade6b899ec79a5.tar.gz yuzu-7bf4bec257dffb633d818fb1a7ade6b899ec79a5.tar.bz2 yuzu-7bf4bec257dffb633d818fb1a7ade6b899ec79a5.tar.lz yuzu-7bf4bec257dffb633d818fb1a7ade6b899ec79a5.tar.xz yuzu-7bf4bec257dffb633d818fb1a7ade6b899ec79a5.tar.zst yuzu-7bf4bec257dffb633d818fb1a7ade6b899ec79a5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/drivers/camera.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input_common/drivers/camera.h b/src/input_common/drivers/camera.h index b8a7c75e5..38fb1ae4c 100644 --- a/src/input_common/drivers/camera.h +++ b/src/input_common/drivers/camera.h @@ -3,6 +3,8 @@ #pragma once +#include <span> + #include "input_common/input_engine.h" namespace InputCommon { @@ -15,7 +17,7 @@ class Camera final : public InputEngine { public: explicit Camera(std::string input_engine_); - void SetCameraData(std::size_t width, std::size_t height, std::vector<u32> data); + void SetCameraData(std::size_t width, std::size_t height, std::span<const u32> data); std::size_t getImageWidth() const; std::size_t getImageHeight() const; |