mirror of https://github.com/raysan5/raylib
Fix #3246
This commit is contained in:
parent
a86c93ebc0
commit
e4dcbd5180
|
@ -2945,6 +2945,7 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue