mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-03 00:18:30 +00:00
Minor tweaks
This commit is contained in:
@@ -2156,8 +2156,9 @@ void ImageBlurGaussian(Image *image, int blurSize)
|
||||
ImageFormat(image, format);
|
||||
}
|
||||
|
||||
// The kernel matrix is assumed to be square. Only supply the width of the kernel
|
||||
void ImageKernelConvolution(Image *image, float* kernel, int kernelSize)
|
||||
// Apply custom square convolution kernel to image
|
||||
// NOTE: The convolution kernel matrix is expected to be square
|
||||
void ImageKernelConvolution(Image *image, const float *kernel, int kernelSize)
|
||||
{
|
||||
if ((image->data == NULL) || (image->width == 0) || (image->height == 0) || kernel == NULL) return;
|
||||
|
||||
|
Reference in New Issue
Block a user