Remove trailing spaces
This commit is contained in:
parent
83b3478fe4
commit
3e604a8645
3 changed files with 6 additions and 6 deletions
|
@ -1678,7 +1678,7 @@ void SeekMusicStream(Music music, float position)
|
||||||
#endif
|
#endif
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
music.stream.buffer->framesProcessed = positionInFrames;
|
music.stream.buffer->framesProcessed = positionInFrames;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2186,9 +2186,9 @@ void BeginScissorMode(int x, int y, int width, int height)
|
||||||
if ((CORE.Window.flags & FLAG_WINDOW_HIGHDPI) > 0)
|
if ((CORE.Window.flags & FLAG_WINDOW_HIGHDPI) > 0)
|
||||||
{
|
{
|
||||||
Vector2 scale = GetWindowScaleDPI();
|
Vector2 scale = GetWindowScaleDPI();
|
||||||
|
|
||||||
rlScissor(x*scale.x, CORE.Window.currentFbo.height - (y + height)*scale.y, width*scale.x, height*scale.y);
|
rlScissor(x*scale.x, CORE.Window.currentFbo.height - (y + height)*scale.y, width*scale.x, height*scale.y);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rlScissor(x, CORE.Window.currentFbo.height - (y + height), width, height);
|
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.width = width/windowScaleDPI.x;
|
||||||
CORE.Window.screen.height = height/windowScaleDPI.y;
|
CORE.Window.screen.height = height/windowScaleDPI.y;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CORE.Window.screen.width = width;
|
CORE.Window.screen.width = width;
|
||||||
|
|
|
@ -3825,9 +3825,9 @@ Color GetPixelColor(void *srcPtr, int format)
|
||||||
color.g = (unsigned char)(((float *)srcPtr)[0]*255.0f);
|
color.g = (unsigned char)(((float *)srcPtr)[0]*255.0f);
|
||||||
color.b = (unsigned char)(((float *)srcPtr)[0]*255.0f);
|
color.b = (unsigned char)(((float *)srcPtr)[0]*255.0f);
|
||||||
color.a = 255;
|
color.a = 255;
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
case PIXELFORMAT_UNCOMPRESSED_R32G32B32:
|
case PIXELFORMAT_UNCOMPRESSED_R32G32B32:
|
||||||
{
|
{
|
||||||
// NOTE: Pixel normalized float value is converted to [0..255]
|
// NOTE: Pixel normalized float value is converted to [0..255]
|
||||||
color.r = (unsigned char)(((float *)srcPtr)[0]*255.0f);
|
color.r = (unsigned char)(((float *)srcPtr)[0]*255.0f);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue