Skip to content

Commit

Permalink
new screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
segfaultdev committed May 10, 2022
1 parent 893f2db commit 977f1aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file modified assets/tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1847,13 +1847,12 @@ int main(int argc, const char **argv) {
#endif

DrawFPS(8, 8);
EndDrawing();

#ifndef PLATFORM_WEB
if (IsKeyPressed(KEY_E)) TakeScreenshot("screen.png");
#endif

EndDrawing();

tick++;
}

Expand Down

0 comments on commit 977f1aa

Please sign in to comment.