Skip to content

Commit

Permalink
Fix #3246
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Aug 17, 2023
1 parent a86c93e commit e4dcbd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rlgl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e4dcbd5

Please sign in to comment.