summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 72f174a4..a419684c 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -496,8 +496,9 @@ void init_Window(iWindow *d, iRect rect) {
496 /* Some info. */ { 496 /* Some info. */ {
497 SDL_RendererInfo info; 497 SDL_RendererInfo info;
498 SDL_GetRendererInfo(d->render, &info); 498 SDL_GetRendererInfo(d->render, &info);
499 printf("[window] renderer: %s%s\n", info.name, 499 printf("[window] renderer: %s%s\n", info.name,
500 info.flags & SDL_RENDERER_ACCELERATED ? " (accelerated)" : ""); 500 info.flags & SDL_RENDERER_ACCELERATED ? " (accelerated)" : "");
501#if !defined (NDEBUG)
501 printf("[window] max texture size: %d x %d\n", 502 printf("[window] max texture size: %d x %d\n",
502 info.max_texture_width, 503 info.max_texture_width,
503 info.max_texture_height); 504 info.max_texture_height);
@@ -505,6 +506,7 @@ void init_Window(iWindow *d, iRect rect) {
505 printf("[window] supported texture format: %s\n", SDL_GetPixelFormatName( 506 printf("[window] supported texture format: %s\n", SDL_GetPixelFormatName(
506 info.texture_formats[i])); 507 info.texture_formats[i]));
507 } 508 }
509#endif
508 } 510 }
509 drawBlank_Window_(d); 511 drawBlank_Window_(d);
510 d->uiScale = initialUiScale_; 512 d->uiScale = initialUiScale_;