Review TRACELOG() messages
This commit is contained in:
parent
d7b15ac1cf
commit
d28e73849b
10
src/core.c
10
src/core.c
@ -2887,10 +2887,10 @@ static bool InitGraphicsDevice(int width, int height)
|
||||
{
|
||||
TRACELOG(LOG_INFO, "DISPLAY: Device initialized successfully");
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
TRACELOG(LOG_INFO, " > Size: %i x %i", CORE.Window.display.width, CORE.Window.display.height);
|
||||
TRACELOG(LOG_INFO, " > Display size: %i x %i", CORE.Window.display.width, CORE.Window.display.height);
|
||||
#endif
|
||||
TRACELOG(LOG_INFO, " > Render size: %i x %i", CORE.Window.render.width, CORE.Window.render.height);
|
||||
TRACELOG(LOG_INFO, " > Screen size: %i x %i", CORE.Window.screen.width, CORE.Window.screen.height);
|
||||
TRACELOG(LOG_INFO, " > Render size: %i x %i", CORE.Window.render.width, CORE.Window.render.height);
|
||||
TRACELOG(LOG_INFO, " > Screen size: %i x %i", CORE.Window.screen.width, CORE.Window.screen.height);
|
||||
TRACELOG(LOG_INFO, " > Viewport offsets: %i, %i", CORE.Window.renderOffset.x, CORE.Window.renderOffset.y);
|
||||
}
|
||||
|
||||
@ -3245,8 +3245,8 @@ static bool InitGraphicsDevice(int width, int height)
|
||||
|
||||
TRACELOG(LOG_INFO, "DISPLAY: Device initialized successfully");
|
||||
TRACELOG(LOG_INFO, " > Display size: %i x %i", CORE.Window.display.width, CORE.Window.display.height);
|
||||
TRACELOG(LOG_INFO, " > Render size: %i x %i", CORE.Window.render.width, CORE.Window.render.height);
|
||||
TRACELOG(LOG_INFO, " > Screen size: %i x %i", CORE.Window.screen.width, CORE.Window.screen.height);
|
||||
TRACELOG(LOG_INFO, " > Render size: %i x %i", CORE.Window.render.width, CORE.Window.render.height);
|
||||
TRACELOG(LOG_INFO, " > Screen size: %i x %i", CORE.Window.screen.width, CORE.Window.screen.height);
|
||||
TRACELOG(LOG_INFO, " > Viewport offsets: %i, %i", CORE.Window.renderOffset.x, CORE.Window.renderOffset.y);
|
||||
}
|
||||
#endif // PLATFORM_ANDROID || PLATFORM_RPI
|
||||
|
@ -1166,9 +1166,9 @@ Music LoadMusicStream(const char *fileName)
|
||||
// Show some music stream info
|
||||
TRACELOG(LOG_INFO, "FILEIO: [%s] Music file successfully loaded:", fileName);
|
||||
TRACELOG(LOG_INFO, " > Total samples: %i", music.sampleCount);
|
||||
TRACELOG(LOG_INFO, " > Sample rate: %i Hz", music.stream.sampleRate);
|
||||
TRACELOG(LOG_INFO, " > Sample size: %i bits", music.stream.sampleSize);
|
||||
TRACELOG(LOG_INFO, " > Channels: %i (%s)", music.stream.channels, (music.stream.channels == 1)? "Mono" : (music.stream.channels == 2)? "Stereo" : "Multi");
|
||||
TRACELOG(LOG_INFO, " > Sample rate: %i Hz", music.stream.sampleRate);
|
||||
TRACELOG(LOG_INFO, " > Sample size: %i bits", music.stream.sampleSize);
|
||||
TRACELOG(LOG_INFO, " > Channels: %i (%s)", music.stream.channels, (music.stream.channels == 1)? "Mono" : (music.stream.channels == 2)? "Stereo" : "Multi");
|
||||
}
|
||||
|
||||
return music;
|
||||
|
@ -1676,7 +1676,7 @@ static Font LoadBMFont(const char *fileName)
|
||||
sscanf(searchPoint, "lineHeight=%i base=%i scaleW=%i scaleH=%i", &fontSize, &base, &texWidth, &texHeight);
|
||||
|
||||
TRACELOGD("FONT: [%s] Loaded font info:", fileName);
|
||||
TRACELOGD(" > Base size: %i", fontSize);
|
||||
TRACELOGD(" > Base size: %i", fontSize);
|
||||
TRACELOGD(" > Texture scale: %ix%i", texWidth, texHeight);
|
||||
|
||||
fgets(buffer, MAX_BUFFER_SIZE, fntFile);
|
||||
|
@ -3122,11 +3122,11 @@ static Image LoadDDS(const char *fileName)
|
||||
fread(&ddsHeader, sizeof(DDSHeader), 1, ddsFile);
|
||||
|
||||
TRACELOGD("IMAGE: [%s] DDS file info:", fileName);
|
||||
TRACELOGD(" > Header size: %i", fileName, sizeof(DDSHeader));
|
||||
TRACELOGD(" > Pixel format size: %i", fileName, ddsHeader.ddspf.size);
|
||||
TRACELOGD(" > Header size: %i", fileName, sizeof(DDSHeader));
|
||||
TRACELOGD(" > Pixel format size: %i", fileName, ddsHeader.ddspf.size);
|
||||
TRACELOGD(" > Pixel format flags: 0x%x", fileName, ddsHeader.ddspf.flags);
|
||||
TRACELOGD(" > File format: 0x%x", fileName, ddsHeader.ddspf.fourCC);
|
||||
TRACELOGD(" > File bit count: 0x%x", fileName, ddsHeader.ddspf.rgbBitCount);
|
||||
TRACELOGD(" > File format: 0x%x", fileName, ddsHeader.ddspf.fourCC);
|
||||
TRACELOGD(" > File bit count: 0x%x", fileName, ddsHeader.ddspf.rgbBitCount);
|
||||
|
||||
image.width = ddsHeader.width;
|
||||
image.height = ddsHeader.height;
|
||||
@ -3301,7 +3301,7 @@ static Image LoadPKM(const char *fileName)
|
||||
pkmHeader.height = ((pkmHeader.height & 0x00FF) << 8) | ((pkmHeader.height & 0xFF00) >> 8);
|
||||
|
||||
TRACELOGD("IMAGE: [%s] PKM file info:", fileName);
|
||||
TRACELOGD(" > Image width: %i", pkmHeader.width);
|
||||
TRACELOGD(" > Image width: %i", pkmHeader.width);
|
||||
TRACELOGD(" > Image height: %i", pkmHeader.height);
|
||||
TRACELOGD(" > Image format: %i", pkmHeader.format);
|
||||
|
||||
@ -3395,7 +3395,7 @@ static Image LoadKTX(const char *fileName)
|
||||
image.mipmaps = ktxHeader.mipmapLevels;
|
||||
|
||||
TRACELOGD("IMAGE: [%s] KTX file info:", fileName);
|
||||
TRACELOGD(" > Image width: %i", ktxHeader.width);
|
||||
TRACELOGD(" > Image width: %i", ktxHeader.width);
|
||||
TRACELOGD(" > Image height: %i", ktxHeader.height);
|
||||
TRACELOGD(" > Image format: 0x%x", ktxHeader.glInternalFormat);
|
||||
|
||||
@ -3722,7 +3722,7 @@ static Image LoadASTC(const char *fileName)
|
||||
image.height = 0x00000000 | ((int)astcHeader.height[2] << 16) | ((int)astcHeader.height[1] << 8) | ((int)astcHeader.height[0]);
|
||||
|
||||
TRACELOGD("IMAGE: [%s] ASTC file info:", fileName);
|
||||
TRACELOGD(" > Image width: %i", image.width);
|
||||
TRACELOGD(" > Image width: %i", image.width);
|
||||
TRACELOGD(" > Image height: %i", image.height);
|
||||
TRACELOGD(" > Image blocks: %ix%i", astcHeader.blockX, astcHeader.blockY);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user