aboutsummaryrefslogtreecommitdiff
path: root/examples/core_basic_window.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2014-09-29 23:41:05 +0200
committerraysan5 <raysan5@gmail.com>2014-09-29 23:41:05 +0200
commit51688c004cb9b41cd573b7f84ce8574ca2a4b9d7 (patch)
tree1d8bf01ec8deb3acabb747182f2a1384cec2ec49 /examples/core_basic_window.c
parente2ff32eb847f0332d546f51c442f336e0dc7b309 (diff)
downloadraylib-51688c004cb9b41cd573b7f84ce8574ca2a4b9d7.tar.gz
raylib-51688c004cb9b41cd573b7f84ce8574ca2a4b9d7.zip
Code cleaning, removed useless spaces
Diffstat (limited to 'examples/core_basic_window.c')
-rw-r--r--examples/core_basic_window.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/core_basic_window.c b/examples/core_basic_window.c
index 2feff985..505d8df4 100644
--- a/examples/core_basic_window.c
+++ b/examples/core_basic_window.c
@@ -17,10 +17,10 @@ int main()
//--------------------------------------------------------------------------------------
int screenWidth = 800;
int screenHeight = 450;
-
+
InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
//--------------------------------------------------------------------------------------
-
+
// Main game loop
while (!WindowShouldClose()) // Detect window close button or ESC key
{
@@ -28,15 +28,15 @@ int main()
//----------------------------------------------------------------------------------
// TODO: Update your variables here
//----------------------------------------------------------------------------------
-
+
// Draw
//----------------------------------------------------------------------------------
BeginDrawing();
-
+
ClearBackground(RAYWHITE);
-
+
DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
-
+
EndDrawing();
//----------------------------------------------------------------------------------
}
@@ -45,6 +45,6 @@ int main()
//--------------------------------------------------------------------------------------
CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------
-
+
return 0;
} \ No newline at end of file