test/common.c
changeset 1923 d4572b97b08f
parent 1921 f3399f779a1d
child 1924 69217fdd2c0a
--- a/test/common.c	Sat Jul 22 19:03:31 2006 +0000
+++ b/test/common.c	Sat Jul 22 19:51:48 2006 +0000
@@ -610,7 +610,7 @@
             if (n == 0) {
                 fprintf(stderr, "No built-in render drivers\n");
             } else {
-                fprintf(stderr, "Built-in render video drivers:\n");
+                fprintf(stderr, "Built-in render drivers:\n");
                 for (i = 0; i < n; ++i) {
                     SDL_GetRendererInfo(i, &info);
                     PrintRenderer(&info);
@@ -690,6 +690,13 @@
                             SDL_GetError());
                     return SDL_FALSE;
                 }
+                if (state->verbose & VERBOSE_RENDER) {
+                    SDL_RendererInfo info;
+
+                    fprintf(stderr, "Current renderer:\n");
+                    SDL_GetRendererInfo(-1, &info);
+                    PrintRenderer(&info);
+                }
             }
         }
         SDL_SelectRenderer(state->windows[0]);