Skip to content

Commit b9a835b

Browse files
committed
fix: comment about sprite
The 'Draw a red square' comment does not fit this example because this source code shows SDL sprite usage.
1 parent fb65df5 commit b9a835b

File tree

1 file changed

+1
-1
lines changed
  • _includes/samples/sdl2_image

1 file changed

+1
-1
lines changed

_includes/samples/sdl2_image/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
5858
// Clear the screen
5959
SDL_RenderClear(renderer);
6060

61-
// Draw a red square
61+
// Draw the 'grass' sprite
6262
SDL_RenderCopy(renderer, sprite, NULL, &sprite_rect);
6363

6464
// Draw everything on a white background

0 commit comments

Comments
 (0)