Needed to pass the renderer in.
This commit is contained in:
parent
38437fce7f
commit
5fe61f6aaa
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
/* fill canvass initially with all black */
|
/* fill canvass initially with all black */
|
||||||
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
|
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
|
||||||
SDL_RenderClear();
|
SDL_RenderClear(renderer);
|
||||||
SDL_RenderPresent(renderer);
|
SDL_RenderPresent(renderer);
|
||||||
|
|
||||||
done = 0;
|
done = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue