diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-09 07:35:51 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-09 07:35:51 +0300 |
commit | 9547fbc19993c2f1ad0bfbb7ee1f679b182c7b7c (patch) | |
tree | 0191d9aa6272fa60cb0875554ee0c6e42843d3c9 /src/ui/window.c | |
parent | f6d920bc4741255cd334f0337852f5bbb13e490f (diff) |
Cleanup
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 4 |
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_; |