mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-15 07:20:03 +00:00
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
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user