Sfoglia il codice sorgente

Update rtextures.c

pull/2939/head
Ray 2 anni fa
parent
commit
b2926b2d28
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rtextures.c Vedi File

@ -3341,7 +3341,7 @@ bool IsTextureReady(Texture2D texture)
(texture.width > 0) &&
(texture.height > 0) && // Validate texture size
(texture.format > 0) && // Validate texture pixel format
(texture.mipmap > 0)); // Validate texture mipmaps (at least 1 for basic mipmap level)
(texture.mipmaps > 0)); // Validate texture mipmaps (at least 1 for basic mipmap level)
}
// Unload texture from GPU memory (VRAM)

Caricamento…
Annulla
Salva