Fixed memory allocation size.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404086
This commit is contained in:
parent
b0a410eb46
commit
78ffba1ff2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue