Browse Source

Fix #3246

pull/3250/head
Ray 1 year ago
parent
commit
e4dcbd5180
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/rlgl.h

+ 1
- 0
src/rlgl.h View File

@ -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…
Cancel
Save