Revert "Fix #3246"

This reverts commit e4dcbd5180.
This commit is contained in:
Ray 2023-08-19 20:09:43 +02:00
parent e4dcbd5180
commit 5a33f19964

View File

@ -2945,7 +2945,6 @@ bool rlCheckRenderBatchLimit(int vCount)
unsigned int rlLoadTexture(const void *data, int width, int height, int format, int mipmapCount) unsigned int rlLoadTexture(const void *data, int width, int height, int format, int mipmapCount)
{ {
unsigned int id = 0; unsigned int id = 0;
if (data == NULL) return id;
glBindTexture(GL_TEXTURE_2D, 0); // Free any old binding glBindTexture(GL_TEXTURE_2D, 0); // Free any old binding