We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92bda1e commit 7257eaaCopy full SHA for 7257eaa
1 file changed
src/include/sndx/render/image/stbimage.hpp
@@ -42,7 +42,7 @@ namespace sndx::render {
42
}
43
44
[[nodiscard]]
45
- std::optional<ImageData> loadFromBuffer(std::span<stbi_uc> data, uint8_t channels) const noexcept {
+ std::optional<ImageData> loadFromBuffer(std::span<const stbi_uc> data, uint8_t channels) const noexcept {
46
stbi_set_flip_vertically_on_load_thread(m_flip);
47
48
int width, height, chan;
0 commit comments