summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 9ca099ac..3756e5ac 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -2945,7 +2945,6 @@ bool rlCheckRenderBatchLimit(int vCount)
unsigned int rlLoadTexture(const void *data, int width, int height, int format, int mipmapCount)
{
unsigned int id = 0;
- if (data == NULL) return id;
glBindTexture(GL_TEXTURE_2D, 0); // Free any old binding