diff options
| author | Ray <[email protected]> | 2019-10-29 16:03:21 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-10-29 16:03:21 +0100 |
| commit | dc6136e820a5793fb469e78154b57a46ac619139 (patch) | |
| tree | 0e1c8006738d0fad0584fac2d6157e9d9fb708a2 /src/rlgl.h | |
| parent | 75b0264f35d8895c1e64c7c7bc85d1572d167cf2 (diff) | |
| download | raylib-dc6136e820a5793fb469e78154b57a46ac619139.tar.gz raylib-dc6136e820a5793fb469e78154b57a46ac619139.zip | |
Review formatting for PR #1004
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } |
