Selaa lähdekoodia

Update rtextures.c

pull/2939/head
Ray 2 vuotta sitten
vanhempi
commit
b2926b2d28
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rtextures.c Näytä tiedosto

@ -3341,7 +3341,7 @@ bool IsTextureReady(Texture2D texture)
(texture.width > 0) && (texture.width > 0) &&
(texture.height > 0) && // Validate texture size (texture.height > 0) && // Validate texture size
(texture.format > 0) && // Validate texture pixel format (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) // Unload texture from GPU memory (VRAM)

Ladataan…
Peruuta
Tallenna