Fixed conventions

This commit is contained in:
tusharsingh09 2021-12-30 17:17:37 +05:30
parent dad6a9c0a5
commit 604259c022

View File

@ -1535,11 +1535,11 @@ void SetWindowSize(int width, int height)
}
// Set window opacity, value opacity is between 0.0 and 1.0
void SetWindowOpacity (float opacity)
void SetWindowOpacity(float opacity)
{
#if defined(PLATFORM_DESKTOP)
if (opacity >= 1.0) opacity = 1.0;
else if (opacity <= 0.0) opacity = 0.0;
if (opacity >= 1.0f) opacity = 1.0f;
else if (opacity <= 0.0f) opacity = 0.0f;
glfwSetWindowOpacity(CORE.Window.handle, opacity);
#endif
}