diff options
| author | Ray <[email protected]> | 2021-10-14 00:11:37 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-10-14 00:11:37 +0200 |
| commit | 3e604a86450d90c60a9d1221b1dd7e474006c6e1 (patch) | |
| tree | 3e4b34ba187fb319e805fc6de2fc06a9cd31586b /src | |
| parent | 83b3478fe40ac3160606392373483649c93aa5ed (diff) | |
| download | raylib-3e604a86450d90c60a9d1221b1dd7e474006c6e1.tar.gz raylib-3e604a86450d90c60a9d1221b1dd7e474006c6e1.zip | |
Remove trailing spaces
Diffstat (limited to 'src')
| -rw-r--r-- | src/raudio.c | 2 | ||||
| -rw-r--r-- | src/rcore.c | 6 | ||||
| -rw-r--r-- | src/rtextures.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/raudio.c b/src/raudio.c index a5f63612..a694c9fe 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -1678,7 +1678,7 @@ void SeekMusicStream(Music music, float position) #endif default: break; } - + music.stream.buffer->framesProcessed = positionInFrames; } diff --git a/src/rcore.c b/src/rcore.c index 78ee8e2e..1e4047c7 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2186,9 +2186,9 @@ void BeginScissorMode(int x, int y, int width, int height) if ((CORE.Window.flags & FLAG_WINDOW_HIGHDPI) > 0) { Vector2 scale = GetWindowScaleDPI(); - + rlScissor(x*scale.x, CORE.Window.currentFbo.height - (y + height)*scale.y, width*scale.x, height*scale.y); - } + } else { rlScissor(x, CORE.Window.currentFbo.height - (y + height), width, height); @@ -4920,7 +4920,7 @@ static void WindowSizeCallback(GLFWwindow *window, int width, int height) CORE.Window.screen.width = width/windowScaleDPI.x; CORE.Window.screen.height = height/windowScaleDPI.y; - } + } else { CORE.Window.screen.width = width; diff --git a/src/rtextures.c b/src/rtextures.c index 984717c3..34c4685f 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -3825,9 +3825,9 @@ Color GetPixelColor(void *srcPtr, int format) color.g = (unsigned char)(((float *)srcPtr)[0]*255.0f); color.b = (unsigned char)(((float *)srcPtr)[0]*255.0f); color.a = 255; - + } break; - case PIXELFORMAT_UNCOMPRESSED_R32G32B32: + case PIXELFORMAT_UNCOMPRESSED_R32G32B32: { // NOTE: Pixel normalized float value is converted to [0..255] color.r = (unsigned char)(((float *)srcPtr)[0]*255.0f); |
