diff test/common.c @ 3685:64ce267332c6

Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 21 Jan 2010 06:21:52 +0000
parents 19691cebb866
children 3e69e077cb95
line wrap: on
line diff
--- a/test/common.c	Thu Jan 21 05:49:41 2010 +0000
+++ b/test/common.c	Thu Jan 21 06:21:52 2010 +0000
@@ -761,7 +761,7 @@
         fullscreen_mode.refresh_rate = state->refresh_rate;
 
         state->windows =
-            (SDL_WindowID *) SDL_malloc(state->num_windows *
+            (SDL_Window **) SDL_malloc(state->num_windows *
                                         sizeof(*state->windows));
         if (!state->windows) {
             fprintf(stderr, "Out of memory!\n");