Sfoglia il codice sorgente

Update rlgl.h

pull/2713/head
Ray 2 anni fa
parent
commit
6e8f3b0f45
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      src/rlgl.h

+ 1
- 0
src/rlgl.h Vedi 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);

Caricamento…
Annulla
Salva