summaryrefslogtreecommitdiffhomepage
path: root/src/textures.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textures.c')
-rw-r--r--src/textures.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/textures.c b/src/textures.c
index e8bf6088..768ead78 100644
--- a/src/textures.c
+++ b/src/textures.c
@@ -103,8 +103,6 @@ Image LoadImage(const char *fileName)
// Force loading to 4 components (RGBA)
byte *imgData = stbi_load(fileName, &imgWidth, &imgHeight, &imgBpp, 4);
- // TODO: Check if file could be loaded! (imgData == NULL)?
-
if (imgData != NULL)
{
// Convert array to pixel array for working convenience