diff test/common.h @ 5150:ad50b3db78bd

The rendering functions take a context so it's clear what window they're drawing to. This also potentially opens to the door to multi-threaded rendering in the future.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 01 Feb 2011 19:19:43 -0800
parents 3ce59cbecaa3
children
line wrap: on
line diff
--- a/test/common.h	Tue Feb 01 19:15:42 2011 -0800
+++ b/test/common.h	Tue Feb 01 19:19:43 2011 -0800
@@ -39,6 +39,7 @@
     const char *renderdriver;
     Uint32 render_flags;
     SDL_bool skip_renderer;
+    SDL_Renderer **renderers;
 
     /* Audio info */
     const char *audiodriver;