aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 6eb215c0..d62099d1 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -1887,10 +1887,9 @@ unsigned int rlLoadTexture(void *data, int width, int height, int format, int mi
#endif
#endif // GRAPHICS_API_OPENGL_11
- if( data == NULL ){
- //ups!
+ if (data == NULL)
+ {
TraceLog(LOG_WARNING, "Got asked to load texture from a NULL pointer!");
-
return id;
}