diff options
Diffstat (limited to 'src/cam/sdl_texture_yuyv.cpp')
-rw-r--r-- | src/cam/sdl_texture_yuyv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cam/sdl_texture_yuyv.cpp b/src/cam/sdl_texture_yuyv.cpp index cc161b2c..637c0900 100644 --- a/src/cam/sdl_texture_yuyv.cpp +++ b/src/cam/sdl_texture_yuyv.cpp @@ -14,7 +14,7 @@ SDLTextureYUYV::SDLTextureYUYV(const SDL_Rect &rect) { } -void SDLTextureYUYV::update(const Span<uint8_t> &data) +void SDLTextureYUYV::update(Span<const uint8_t> data) { SDL_UpdateTexture(ptr_, &rect_, data.data(), pitch_); } |