Browse Source

Update rlgl.h

pull/2713/head
Ray 2 years ago
parent
commit
6e8f3b0f45
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/rlgl.h

+ 1
- 0
src/rlgl.h View File

@ -3082,6 +3082,7 @@ void rlUnloadTexture(unsigned int id)
}
// Generate mipmap data for selected texture
// NOTE: Only supports GPU mipmap generation
void rlGenTextureMipmaps(unsigned int id, int width, int height, int format, int *mipmaps)
{
glBindTexture(GL_TEXTURE_2D, id);

Loading…
Cancel
Save