Skip to content

Commit 4db8d44

Browse files
vtfpp: forgot to add even more the things to last commit im tired
1 parent 16fa78e commit 4db8d44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/vtfpp/ImageConversion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ void setResizedDims(uint16_t& width, ResizeMethod widthResize, uint16_t& height,
118118
[[nodiscard]] std::vector<std::byte> padImageData(std::span<const std::byte> imageData, ImageFormat format, uint16_t width, uint16_t widthPad, uint16_t height, uint16_t heightPad);
119119

120120
/// Perform gamma correction on the given image data. Will not perform gamma correction if the input image format is large, console, P8, A8, UV88, UVLX8888, or UVWQ8888
121-
[[nodiscard]] std::vector<std::byte> gammaCorrectImageData(std::span<const std::byte> imageData, ImageFormat format, uint16_t width, uint16_t height, float gamma);
121+
void gammaCorrectImageData(std::span<std::byte> imageData, ImageFormat format, uint16_t width, uint16_t height, float gamma);
122122

123123
/// Invert the green channel. Meant for converting normal maps between OpenGL and DirectX formats
124-
[[nodiscard]] std::vector<std::byte> invertGreenChannelForImageData(std::span<const std::byte> imageData, ImageFormat format, uint16_t width, uint16_t height);
124+
void invertGreenChannelForImageData(std::span<std::byte> imageData, ImageFormat format, uint16_t width, uint16_t height);
125125

126126
} // namespace vtfpp::ImageConversion

0 commit comments

Comments
 (0)