diff options
| author | raysan5 <[email protected]> | 2021-10-17 21:00:20 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-10-17 21:00:20 +0200 |
| commit | cf12992b6a3bdf1f5332111708aa0200525cc60a (patch) | |
| tree | 70d3e92415c077e626607ee321e7326f123cbe95 /examples/core/core_split_screen.c | |
| parent | 67a1e84859f903adb0b1d1ab0605c472d31dab8a (diff) | |
| download | raylib-cf12992b6a3bdf1f5332111708aa0200525cc60a.tar.gz raylib-cf12992b6a3bdf1f5332111708aa0200525cc60a.zip | |
Remove trailing spaces
Diffstat (limited to 'examples/core/core_split_screen.c')
| -rw-r--r-- | examples/core/core_split_screen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/core/core_split_screen.c b/examples/core/core_split_screen.c index 1f4242e7..c05c0b32 100644 --- a/examples/core/core_split_screen.c +++ b/examples/core/core_split_screen.c @@ -22,7 +22,7 @@ void DrawScene(void) { int count = 5; float spacing = 4; - + // Grid of cube trees on a plane to make a "world" DrawPlane((Vector3){ 0, 0, 0 }, (Vector2){ 50, 50 }, BEIGE); // Simple world plane @@ -73,10 +73,10 @@ int main(void) cameraPlayer2.position.y = 3.0f; RenderTexture screenPlayer2 = LoadRenderTexture(screenWidth / 2, screenHeight); - + // Build a flipped rectangle the size of the split view to use for drawing later Rectangle splitScreenRect = { 0.0f, 0.0f, (float)screenPlayer1.texture.width, (float)-screenPlayer1.texture.height }; - + SetTargetFPS(60); // Set our game to run at 60 frames-per-second //-------------------------------------------------------------------------------------- @@ -147,7 +147,7 @@ int main(void) UnloadRenderTexture(screenPlayer1); // Unload render texture UnloadRenderTexture(screenPlayer2); // Unload render texture UnloadTexture(textureGrid); // Unload texture - + CloseWindow(); // Close window and OpenGL context //-------------------------------------------------------------------------------------- |
