mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Remove trailing spaces
This commit is contained in:
@ -593,7 +593,7 @@ AudioBuffer *LoadAudioBuffer(ma_format format, ma_uint32 channels, ma_uint32 sam
|
||||
// Init audio buffer values
|
||||
audioBuffer->volume = 1.0f;
|
||||
audioBuffer->pitch = 1.0f;
|
||||
audioBuffer->pan = 0.0f; // Center
|
||||
audioBuffer->pan = 0.0f; // Center
|
||||
|
||||
audioBuffer->callback = NULL;
|
||||
audioBuffer->processor = NULL;
|
||||
|
||||
@ -3343,7 +3343,7 @@ void ImageClearBackground(Image *dst, Color color)
|
||||
int bytesPerPixel = GetPixelDataSize(1, 1, dst->format);
|
||||
int totalPixels = dst->width * dst->height;
|
||||
|
||||
// Repeat the first pixel data throughout the image,
|
||||
// Repeat the first pixel data throughout the image,
|
||||
// doubling the pixels copied on each iteration
|
||||
for (int i = 1; i < totalPixels; i *= 2)
|
||||
{
|
||||
@ -3727,7 +3727,7 @@ void ImageDrawRectangleRec(Image *dst, Rectangle rec, Color color)
|
||||
unsigned char *pSrcPixel = (unsigned char *)dst->data + bytesOffset;
|
||||
|
||||
// Repeat the first pixel data throughout the row
|
||||
for (int x = 1; x < (int)rec.width; x *= 2)
|
||||
for (int x = 1; x < (int)rec.width; x *= 2)
|
||||
{
|
||||
int pixelsToCopy = MIN(x, (int)rec.width - x);
|
||||
memcpy(pSrcPixel + x*bytesPerPixel, pSrcPixel, pixelsToCopy * bytesPerPixel);
|
||||
|
||||
Reference in New Issue
Block a user