Skip to content

Commit

Permalink
Merge pull request #6 from MarcinKonowalczyk/patch-1
Browse files Browse the repository at this point in the history
Patch 1
  • Loading branch information
raysan5 authored Jan 9, 2024
2 parents 0b50f0c + aca838e commit 9c12092
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ The repo is also pre-configured with a default `LICENSE` (zlib/libpng) and a `RE

All the sections defined by `$(Data to Fill)` are expected to be edited and filled properly. It's recommended to delete this disclaimer message after editing this `README.md` file.

_GETTING STARTED:_

First press the 'Use this template' button to clone the repo.

This template does not include a copy of raylib itself. By default it expects to find raylib in the same folder as the one to which you've cloned this template. To start using this template with raylib 5.0, you can do the following:

```sh
mkdir ~/raylib-gamejam && cd ~/raylib-gamejam
git clone --depth 1 --branch 5.0 https://github.com/raysan5/raylib
make -C raylib/src
git clone https://github.com/$(User Name)/$(Repo Name).git
cd $(Repo Name)
make -C src
src/raylib_game
```

This template has been created to be used with raylib (www.raylib.com) and it's licensed under an unmodified zlib/libpng license.

_Copyright (c) 2022-2024 Ramon Santamaria ([@raysan5](https://twitter.com/raysan5))_
Expand Down
4 changes: 2 additions & 2 deletions src/raylib_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static void UpdateDrawFrame(void); // Update and Draw one frame
int main(void)
{
#if !defined(_DEBUG)
SetTraceLogLevel(LOG_NONE); // Disable raylib trace log messsages
SetTraceLogLevel(LOG_NONE); // Disable raylib trace log messages
#endif

// Initialization
Expand Down Expand Up @@ -120,7 +120,7 @@ void UpdateDrawFrame(void)
// Draw
//----------------------------------------------------------------------------------
// Render game screen to a texture,
// it could be useful for scaling or further sahder postprocessing
// it could be useful for scaling or further shader postprocessing
BeginTextureMode(target);
ClearBackground(RAYWHITE);

Expand Down

0 comments on commit 9c12092

Please sign in to comment.