From b68e522ffc39ebff8268c6b522a3bb965878ad16 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Thu, 24 Dec 2020 13:51:24 +0100 Subject: Updated several files while porting examples to web --- examples/shaders/rlights.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'examples/shaders') diff --git a/examples/shaders/rlights.h b/examples/shaders/rlights.h index 0441062b..f9727c9e 100644 --- a/examples/shaders/rlights.h +++ b/examples/shaders/rlights.h @@ -68,6 +68,11 @@ typedef enum { extern "C" { // Prevents name mangling of functions #endif +//---------------------------------------------------------------------------------- +// Global Variables Definition +//---------------------------------------------------------------------------------- +int lightsCount = 0; // Current amount of created lights + //---------------------------------------------------------------------------------- // Module Functions Declaration //---------------------------------------------------------------------------------- @@ -104,7 +109,7 @@ void UpdateLightValues(Shader shader, Light light); // Send light proper //---------------------------------------------------------------------------------- // Global Variables Definition //---------------------------------------------------------------------------------- -static int lightsCount = 0; // Current amount of created lights +// ... //---------------------------------------------------------------------------------- // Module specific Functions Declaration -- cgit v1.2.3