summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-02-21 13:20:52 +0100
committerRay <[email protected]>2023-02-21 13:20:52 +0100
commitb2926b2d28accb1616db72489f5ee123c41c01d2 (patch)
tree644bf2dcc39dc50e4de107c7e5346d9edb697309 /src
parent3cade2a1a033d8c1f5ab62cfaa24e5f65d424576 (diff)
downloadraylib-b2926b2d28accb1616db72489f5ee123c41c01d2.tar.gz
raylib-b2926b2d28accb1616db72489f5ee123c41c01d2.zip
Update rtextures.c
Diffstat (limited to 'src')
-rw-r--r--src/rtextures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index c5636563..7ae96c67 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)