summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_geometric_shapes.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/models/models_geometric_shapes.c')
-rw-r--r--examples/models/models_geometric_shapes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/models/models_geometric_shapes.c b/examples/models/models_geometric_shapes.c
index 82ca4c60..39477927 100644
--- a/examples/models/models_geometric_shapes.c
+++ b/examples/models/models_geometric_shapes.c
@@ -11,12 +11,12 @@
#include "raylib.h"
-int main()
+int main(void)
{
// Initialization
//--------------------------------------------------------------------------------------
- int screenWidth = 800;
- int screenHeight = 450;
+ const int screenWidth = 800;
+ const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [models] example - geometric shapes");
@@ -28,7 +28,7 @@ int main()
camera.fovy = 45.0f;
camera.type = CAMERA_PERSPECTIVE;
- SetTargetFPS(60); // Set our game to run at 60 frames-per-second
+ SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
// Main game loop