Skip to content

Commit 7257eaa

Browse files
committed
Update stbimage.hpp
1 parent 92bda1e commit 7257eaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/include/sndx/render/image/stbimage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace sndx::render {
4242
}
4343

4444
[[nodiscard]]
45-
std::optional<ImageData> loadFromBuffer(std::span<stbi_uc> data, uint8_t channels) const noexcept {
45+
std::optional<ImageData> loadFromBuffer(std::span<const stbi_uc> data, uint8_t channels) const noexcept {
4646
stbi_set_flip_vertically_on_load_thread(m_flip);
4747

4848
int width, height, chan;

0 commit comments

Comments
 (0)