mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Fix #3246
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user