diff options
Diffstat (limited to 'src/cam/sdl_texture.h')
-rw-r--r-- | src/cam/sdl_texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cam/sdl_texture.h b/src/cam/sdl_texture.h index 1d8b0928..f523fa5e 100644 --- a/src/cam/sdl_texture.h +++ b/src/cam/sdl_texture.h @@ -17,7 +17,7 @@ public: SDLTexture(const SDL_Rect &rect, uint32_t pixelFormat, const int pitch); virtual ~SDLTexture(); int create(SDL_Renderer *renderer); - virtual void update(const libcamera::Span<uint8_t> &data) = 0; + virtual void update(libcamera::Span<const uint8_t> data) = 0; SDL_Texture *get() const { return ptr_; } protected: |