From 22b179e66c01866ab8e3aee1b1114f5efbd89a00 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 29 Dec 2020 22:01:48 +0100 Subject: Review rlights helper module #1489 --- examples/shaders/rlights.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'examples/shaders') diff --git a/examples/shaders/rlights.h b/examples/shaders/rlights.h index f9727c9e..66185bb4 100644 --- a/examples/shaders/rlights.h +++ b/examples/shaders/rlights.h @@ -11,7 +11,7 @@ * * LICENSE: zlib/libpng * -* Copyright (c) 2017-2019 Victor Fisac (@victorfisac) and Ramon Santamaria (@raysan5) +* Copyright (c) 2017-2020 Victor Fisac (@victorfisac) and Ramon Santamaria (@raysan5) * * This software is provided "as-is", without any express or implied warranty. In no event * will the authors be held liable for any damages arising from the use of this software. @@ -68,11 +68,6 @@ typedef enum { extern "C" { // Prevents name mangling of functions #endif -//---------------------------------------------------------------------------------- -// Global Variables Definition -//---------------------------------------------------------------------------------- -int lightsCount = 0; // Current amount of created lights - //---------------------------------------------------------------------------------- // Module Functions Declaration //---------------------------------------------------------------------------------- @@ -109,7 +104,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