diff options
| author | João Coelho <jotac0@users.noreply.github.com> | 2019-08-02 14:16:43 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2019-08-02 15:16:43 +0200 |
| commit | 68ffbc06c74b717946d1bcb3a7e433d5fb859c85 (patch) | |
| tree | f6740396faf2fd7b9f161a3ff15301f08932b1e3 /examples | |
| parent | f81cb1a252426727bb0723db0e1beb785ece4d78 (diff) | |
| download | raylib-68ffbc06c74b717946d1bcb3a7e433d5fb859c85.tar.gz raylib-68ffbc06c74b717946d1bcb3a7e433d5fb859c85.zip | |
explained a bit more the core_window_letterbox example (#925)
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/core/core_window_letterbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/core/core_window_letterbox.c b/examples/core/core_window_letterbox.c index 7ee1a832..fe67fe0a 100644 --- a/examples/core/core_window_letterbox.c +++ b/examples/core/core_window_letterbox.c @@ -29,7 +29,7 @@ int main(void) int gameScreenWidth = 640; int gameScreenHeight = 480; - // Render texture initialization + // Render texture initialization, used to hold the rendering result so we can easily resize it RenderTexture2D target = LoadRenderTexture(gameScreenWidth, gameScreenHeight); SetTextureFilter(target.texture, FILTER_BILINEAR); // Texture scale filter to use @@ -59,7 +59,7 @@ int main(void) BeginDrawing(); ClearBackground(BLACK); - // Draw everything in the render texture + // Draw everything in the render texture, note this will not be rendered on screen, yet BeginTextureMode(target); ClearBackground(RAYWHITE); // Clear render texture background color |
