Fixed memory allocation size.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404086
This commit is contained in:
Mike Gorchak 2009-10-13 20:16:23 +00:00
parent b0a410eb46
commit 78ffba1ff2

View File

@ -147,7 +147,7 @@ main(int argc, char *argv[])
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);