diff options
Diffstat (limited to 'examples/shapes_logo_raylib.c')
| -rw-r--r-- | examples/shapes_logo_raylib.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/shapes_logo_raylib.c b/examples/shapes_logo_raylib.c index 669de4bd..a9e5104a 100644 --- a/examples/shapes_logo_raylib.c +++ b/examples/shapes_logo_raylib.c @@ -17,10 +17,10 @@ int main() //-------------------------------------------------------------------------------------- int screenWidth = 800; int screenHeight = 450; - + InitWindow(screenWidth, screenHeight, "raylib [shapes] example - raylib logo using shapes"); //-------------------------------------------------------------------------------------- - + // Main game loop while (!WindowShouldClose()) // Detect window close button or ESC key { @@ -28,19 +28,19 @@ int main() //---------------------------------------------------------------------------------- // TODO: Update your variables here //---------------------------------------------------------------------------------- - + // Draw //---------------------------------------------------------------------------------- BeginDrawing(); - + ClearBackground(RAYWHITE); - + DrawRectangle(screenWidth/2 - 128, screenHeight/2 - 128, 256, 256, BLACK); DrawRectangle(screenWidth/2 - 112, screenHeight/2 - 112, 224, 224, RAYWHITE); DrawText("raylib", screenWidth/2 - 44, screenHeight/2 + 48, 50, BLACK); - + DrawText("this is NOT a texture!", 350, 370, 10, GRAY); - + EndDrawing(); //---------------------------------------------------------------------------------- } @@ -49,6 +49,6 @@ int main() //-------------------------------------------------------------------------------------- CloseWindow(); // Close window and OpenGL context //-------------------------------------------------------------------------------------- - + return 0; }
\ No newline at end of file |
