mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
Update rtextures.c
This commit is contained in:
@@ -3341,7 +3341,7 @@ bool IsTextureReady(Texture2D texture)
|
||||
(texture.width > 0) &&
|
||||
(texture.height > 0) && // Validate texture size
|
||||
(texture.format > 0) && // Validate texture pixel format
|
||||
(texture.mipmap > 0)); // Validate texture mipmaps (at least 1 for basic mipmap level)
|
||||
(texture.mipmaps > 0)); // Validate texture mipmaps (at least 1 for basic mipmap level)
|
||||
}
|
||||
|
||||
// Unload texture from GPU memory (VRAM)
|
||||
|
Reference in New Issue
Block a user