Przeglądaj źródła

Remove unused condition in 'GenerateMipmaps' function for GRAPHICS_API_OPENGL_11 (#1496)

pull/1515/head
Victor Gallet 4 lat temu
committed by GitHub
rodzic
commit
a6cd6eedbe
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      src/rlgl.h

+ 2
- 2
src/rlgl.h Wyświetl plik

@ -4791,8 +4791,8 @@ static int GenerateMipmaps(unsigned char *data, int baseWidth, int baseHeight)
// Count mipmap levels required
while ((width != 1) && (height != 1))
{
k">if (width != 1) width /= 2;
k">if (height != 1) height /= 2;
width /= 2;
height /= 2;
TRACELOGD("TEXTURE: Next mipmap size: %i x %i", width, height);

Ładowanie…
Anuluj
Zapisz