src/render/SDL_render.c
changeset 5221 2ee8112bfc6b
parent 5209 115fff0641ee
child 5224 2178ffe17222
--- a/src/render/SDL_render.c	Mon Feb 07 10:40:21 2011 -0800
+++ b/src/render/SDL_render.c	Mon Feb 07 16:45:40 2011 -0800
@@ -24,6 +24,7 @@
 /* The SDL 2D rendering system */
 
 #include "SDL_hints.h"
+#include "SDL_log.h"
 #include "SDL_render.h"
 #include "SDL_sysrender.h"
 #include "../video/SDL_pixels_c.h"
@@ -159,6 +160,9 @@
         renderer->window = window;
 
         SDL_AddEventWatch(SDL_RendererEventWatch, renderer);
+
+        SDL_LogInfo(SDL_LOG_CATEGORY_RENDER,
+                    "Created renderer: %s", renderer->info.name);
     }
     return renderer;
 }