Fixed memory allocation size.

This commit is contained in:
Mike Gorchak
2009-10-13 20:16:23 +00:00
parent aa0ea9891e
commit b77e19d366

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);