Commit 5fe61f6a authored by Sam Lantinga's avatar Sam Lantinga

Needed to pass the renderer in.

parent 38437fce
......@@ -97,7 +97,7 @@ main(int argc, char *argv[])
/* fill canvass initially with all black */
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
SDL_RenderClear();
SDL_RenderClear(renderer);
SDL_RenderPresent(renderer);
done = 0;
......
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