mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-03 00:18:30 +00:00
Remove trailing spaces
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user