summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorRay <[email protected]>2019-10-29 16:03:21 +0100
committerRay <[email protected]>2019-10-29 16:03:21 +0100
commitdc6136e820a5793fb469e78154b57a46ac619139 (patch)
tree0e1c8006738d0fad0584fac2d6157e9d9fb708a2 /src/rlgl.h
parent75b0264f35d8895c1e64c7c7bc85d1572d167cf2 (diff)
downloadraylib-dc6136e820a5793fb469e78154b57a46ac619139.tar.gz
raylib-dc6136e820a5793fb469e78154b57a46ac619139.zip
Review formatting for PR #1004
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;
}