From b2926b2d28accb1616db72489f5ee123c41c01d2 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 21 Feb 2023 13:20:52 +0100 Subject: [PATCH] Update rtextures.c --- src/rtextures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtextures.c b/src/rtextures.c index c56365637..7ae96c67f 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -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)