From ed4ca6a7f386ef6bb86a6016d9e15ecb12ed287f Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 21 Mar 2021 01:29:31 +0100 Subject: WARNING: BREAKING: rlgl module redesign -WIP- - Some rlgl functions have been moved to core - Some functions have been made internal to rlgl - rlgl functions prefixed with rl*() --- examples/shaders/shaders_hot_reloading.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/shaders/shaders_hot_reloading.c b/examples/shaders/shaders_hot_reloading.c index ef101b4d..5b4ba0a0 100644 --- a/examples/shaders/shaders_hot_reloading.c +++ b/examples/shaders/shaders_hot_reloading.c @@ -13,6 +13,7 @@ ********************************************************************************************/ #include "raylib.h" +#include "rlgl.h" #include // Required for: localtime(), asctime() @@ -76,7 +77,7 @@ int main(void) // Try reloading updated shader Shader updatedShader = LoadShader(0, TextFormat(fragShaderFileName, GLSL_VERSION)); - if (updatedShader.id != GetShaderDefault().id) // It was correctly loaded + if (updatedShader.id != rlGetShaderDefault().id) // It was correctly loaded { UnloadShader(shader); shader = updatedShader; -- cgit v1.2.3