diff options
-rw-r--r-- | src/ui/window.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 69730445..b7b4a8fd 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -475,7 +475,15 @@ void init_Window(iWindow *d, iRect rect) { | |||
475 | /* Some info. */ { | 475 | /* Some info. */ { |
476 | SDL_RendererInfo info; | 476 | SDL_RendererInfo info; |
477 | SDL_GetRendererInfo(d->render, &info); | 477 | SDL_GetRendererInfo(d->render, &info); |
478 | printf("[window] renderer: %s\n", info.name); | 478 | printf("[window] renderer: %s%s\n", info.name, |
479 | info.flags & SDL_RENDERER_ACCELERATED ? " (accelerated)" : ""); | ||
480 | printf("[window] max texture size: %d x %d\n", | ||
481 | info.max_texture_width, | ||
482 | info.max_texture_height); | ||
483 | for (size_t i = 0; i < info.num_texture_formats; ++i) { | ||
484 | printf("[window] supported texture format: %s\n", SDL_GetPixelFormatName( | ||
485 | info.texture_formats[i])); | ||
486 | } | ||
479 | } | 487 | } |
480 | drawBlank_Window_(d); | 488 | drawBlank_Window_(d); |
481 | d->uiScale = initialUiScale_; | 489 | d->uiScale = initialUiScale_; |