Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed memory allocation size.
  • Loading branch information
llmike committed Oct 13, 2009
1 parent cb7358f commit c77e211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testgles.c
Expand Up @@ -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);
Expand Down

0 comments on commit c77e211

Please sign in to comment.