Commit 78ffba1f authored by Mike Gorchak's avatar Mike Gorchak

Fixed memory allocation size.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404086
parent b0a410eb
...@@ -147,7 +147,7 @@ main(int argc, char *argv[]) ...@@ -147,7 +147,7 @@ main(int argc, char *argv[])
quit(2); quit(2);
} }
context = SDL_calloc(state->num_windows, sizeof(SDL_GLContext)); context = SDL_calloc(state->num_windows, sizeof(context));
if (context == NULL) { if (context == NULL) {
fprintf(stderr, "Out of memory!\n"); fprintf(stderr, "Out of memory!\n");
quit(2); quit(2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment