mirror of
https://github.com/yawut/SDL.git
synced 2026-08-19 23:34:04 -05:00
Needed to pass the renderer in.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user