Sfoglia il codice sorgente

Oops, got the order on the log warning print wrong.

pull/4730/head
Uneven Prankster 3 mesi fa
parent
commit
6e2c28c671
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c Vedi File

@ -2229,7 +2229,7 @@ static Font LoadBMFont(const char *fileName)
PixelFormat format = imFonts[i].format;
if (format != PIXELFORMAT_UNCOMPRESSED_GRAYSCALE && format != PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 && format != PIXELFORMAT_UNCOMPRESSED_R8G8B8){
TRACELOG(LOG_WARNING, "FONT: [%s] Page number %i used an unsupported pixel format", i, fileName);
TRACELOG(LOG_WARNING, "FONT: [%s] Page number %i used an unsupported pixel format", fileName, i);
continue;
}

Caricamento…
Annulla
Salva