From e42e3188f57d8db51e0a14410242dcb5566dd9fb Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 18 Feb 2024 11:59:40 +0100 Subject: [PATCH] Remove some unneeded line breaks --- src/rcore.c | 1 - src/rlgl.h | 2 -- src/rshapes.c | 1 - src/rtext.c | 2 -- src/rtextures.c | 3 --- 5 files changed, 9 deletions(-) diff --git a/src/rcore.c b/src/rcore.c index 0cbe3c81..f4abe117 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -1694,7 +1694,6 @@ void WaitTime(double seconds) // NOTE: Functions with a platform-specific implementation on rcore_.c //void OpenURL(const char *url) - // Set the seed for the random number generator void SetRandomSeed(unsigned int seed) { diff --git a/src/rlgl.h b/src/rlgl.h index 237799e5..75b83010 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -120,7 +120,6 @@ #define RLAPI __declspec(dllimport) // We are using the library as a Win32 shared library (.dll) #endif - // Function specifiers definition #ifndef RLAPI #define RLAPI // Functions defined as 'extern' by default (implicit specifiers) @@ -3412,7 +3411,6 @@ void rlGenTextureMipmaps(unsigned int id, int width, int height, int format, int #endif } - // Read texture pixel data void *rlReadTexturePixels(unsigned int id, int width, int height, int format) { diff --git a/src/rshapes.c b/src/rshapes.c index 4b597c4a..f0c6f112 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -71,7 +71,6 @@ #define SPLINE_SEGMENT_DIVISIONS 24 // Spline segment divisions #endif - //---------------------------------------------------------------------------------- // Types and Structures Definition //---------------------------------------------------------------------------------- diff --git a/src/rtext.c b/src/rtext.c index 91f5570a..eb56b3ec 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -1112,7 +1112,6 @@ bool ExportFontAsCode(Font font, const char *fileName) return success; } - // Draw current FPS // NOTE: Uses default font void DrawFPS(int posX, int posY) @@ -1438,7 +1437,6 @@ const char *TextFormat(const char *text, ...) return currentBuffer; } - // Get integer value from text // NOTE: This function replaces atoi() [stdlib.h] int TextToInteger(const char *text) diff --git a/src/rtextures.c b/src/rtextures.c index bf87eabc..97d9e385 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -1648,7 +1648,6 @@ void ImageResizeNN(Image *image,int newWidth,int newHeight) UnloadImageColors(pixels); } - // Resize and image to new size // NOTE: Uses stb default scaling filters (both bicubic): // STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_CATMULLROM @@ -2102,7 +2101,6 @@ void ImageBlurGaussian(Image *image, int blurSize) { } } - // Reverse premultiply for (int i = 0; i < (image->width)*(image->height); i++) { @@ -2152,7 +2150,6 @@ void ImageKernelConvolution(Image *image, float* kernel, int kernelSize) Vector4 *imageCopy2 = RL_MALLOC((image->height)*(image->width)*sizeof(Vector4)); Vector4 *temp = RL_MALLOC(kernelSize*sizeof(Vector4)); - for (int i = 0; i < kernelSize; i++) { temp[i].x = 0.0f;