From cb62cb675fb4b07a7afbc5ef53f5e502b3a9ef7e Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 22 Mar 2022 18:45:41 +0100 Subject: Minor tweaks `const` --- examples/shaders/shaders_hot_reloading.c | 4 ++-- examples/shaders/shaders_raymarching.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/shaders') diff --git a/examples/shaders/shaders_hot_reloading.c b/examples/shaders/shaders_hot_reloading.c index 6f66f361..b6ca8b68 100644 --- a/examples/shaders/shaders_hot_reloading.c +++ b/examples/shaders/shaders_hot_reloading.c @@ -27,8 +27,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - int screenWidth = 800; - int screenHeight = 450; + const int screenWidth = 800; + const int screenHeight = 450; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - hot reloading"); diff --git a/examples/shaders/shaders_raymarching.c b/examples/shaders/shaders_raymarching.c index 5ffe134b..ad2e6285 100644 --- a/examples/shaders/shaders_raymarching.c +++ b/examples/shaders/shaders_raymarching.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - int screenWidth = 800; - int screenHeight = 450; + const int screenWidth = 800; + const int screenHeight = 450; SetConfigFlags(FLAG_WINDOW_RESIZABLE); InitWindow(screenWidth, screenHeight, "raylib [shaders] example - raymarching shapes"); -- cgit v1.2.3