Remove newlines from log messages
This commit is contained in:
parent
17625e20df
commit
718034f5fa
123 changed files with 1143 additions and 1118 deletions
|
@ -54,13 +54,13 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
|
|||
|
||||
mode = SDL_GetCurrentDisplayMode(SDL_GetPrimaryDisplay());
|
||||
if (mode) {
|
||||
SDL_Log("Screen BPP : %d\n", SDL_BITSPERPIXEL(mode->format));
|
||||
SDL_Log("Screen BPP : %d", SDL_BITSPERPIXEL(mode->format));
|
||||
}
|
||||
SDL_GetWindowSize(state->windows[0], &dw, &dh);
|
||||
SDL_Log("Window Size : %d,%d\n", dw, dh);
|
||||
SDL_Log("Window Size : %d,%d", dw, dh);
|
||||
SDL_GetWindowSizeInPixels(state->windows[0], &dw, &dh);
|
||||
SDL_Log("Draw Size : %d,%d\n", dw, dh);
|
||||
SDL_Log("\n");
|
||||
SDL_Log("Draw Size : %d,%d", dw, dh);
|
||||
SDL_Log("%s", "");
|
||||
|
||||
then = SDL_GetTicks();
|
||||
|
||||
|
@ -119,7 +119,7 @@ void SDL_AppQuit(void *appstate, SDL_AppResult result)
|
|||
/* Print out some timing information */
|
||||
const Uint64 now = SDL_GetTicks();
|
||||
if (now > then) {
|
||||
SDL_Log("%2.2f frames per second\n", ((double)frames * 1000) / (now - then));
|
||||
SDL_Log("%2.2f frames per second", ((double)frames * 1000) / (now - then));
|
||||
}
|
||||
|
||||
SDL_ReleaseWindowFromGPUDevice(gpu_device, state->windows[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue