Remove trailing spaces

This commit is contained in:
Ray
2023-03-06 14:58:58 +01:00
parent cf1ebada0e
commit 614e0518a7
6 changed files with 37 additions and 37 deletions

View File

@@ -320,7 +320,7 @@ Image LoadImageAnim(const char *fileName, int *frames)
#else
if (false) { }
#endif
else
else
{
image = LoadImage(fileName);
frameCount = 1;
@@ -507,7 +507,7 @@ Image LoadImageFromScreen(void)
bool IsImageReady(Image image)
{
return ((image.data != NULL) && // Validate pixel data available
(image.width > 0) &&
(image.width > 0) &&
(image.height > 0) && // Validate image size
(image.format > 0) && // Validate image format
(image.mipmaps > 0)); // Validate image mipmaps (at least 1 for basic mipmap level)
@@ -3340,10 +3340,10 @@ RenderTexture2D LoadRenderTexture(int width, int height)
bool IsTextureReady(Texture2D texture)
{
// TODO: Validate maximum texture size supported by GPU?
return ((texture.id > 0) && // Validate OpenGL id
(texture.width > 0) &&
(texture.height > 0) && // Validate texture size
(texture.width > 0) &&
(texture.height > 0) && // Validate texture size
(texture.format > 0) && // Validate texture pixel format
(texture.mipmaps > 0)); // Validate texture mipmaps (at least 1 for basic mipmap level)
}