# HG changeset patch # User Mike Gorchak # Date 1255464983 0 # Node ID 5ecc05616f3970a19e71ab745cc4e7ad622cefb4 # Parent c64ae6ee6a6da5b089b8ba6d56476be89f906aa8 Fixed memory allocation size. diff -r c64ae6ee6a6d -r 5ecc05616f39 test/testgles.c --- a/test/testgles.c Tue Oct 13 18:14:22 2009 +0000 +++ b/test/testgles.c Tue Oct 13 20:16:23 2009 +0000 @@ -147,7 +147,7 @@ quit(2); } - context = SDL_calloc(state->num_windows, sizeof(SDL_GLContext)); + context = SDL_calloc(state->num_windows, sizeof(context)); if (context == NULL) { fprintf(stderr, "Out of memory!\n"); quit(2);