mirror of
https://github.com/raysan5/raylib.git
synced 2026-09-14 01:50:50 +00:00
fix typo in rtextures.c (#6125)
This commit is contained in:
@@ -4445,7 +4445,7 @@ bool IsTextureValid(Texture2D texture)
|
||||
{
|
||||
bool result = false;
|
||||
|
||||
if ((texture.id > 0) && // Validate OpenGL id (texture uplaoded to GPU)
|
||||
if ((texture.id > 0) && // Validate OpenGL id (texture uploaded to GPU)
|
||||
(texture.width > 0) && // Validate texture width
|
||||
(texture.height > 0) && // Validate texture height
|
||||
(texture.format > 0) && // Validate texture pixel format
|
||||
|
||||
Reference in New Issue
Block a user