summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-08-19 20:09:43 +0200
committerRay <[email protected]>2023-08-19 20:09:43 +0200
commit5a33f19964c845fd891342a6291f082e82ed2bf4 (patch)
treecb80ffbfe6b12be3f42322537aff3552fd9239f2 /src
parente4dcbd518091a5854a517ea4cfc3f7e2d29de1a7 (diff)
downloadraylib-5a33f19964c845fd891342a6291f082e82ed2bf4.tar.gz
raylib-5a33f19964c845fd891342a6291f082e82ed2bf4.zip
Revert "Fix #3246"
This reverts commit e4dcbd518091a5854a517ea4cfc3f7e2d29de1a7.
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