From 79c7980f68baa4a5400d04bf132237f4f0e58be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jonsson?= Date: Fri, 19 Jul 2024 16:58:35 +0200 Subject: [PATCH] Added texture name macros for texture3 and 4 --- src/rlgl.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/rlgl.h b/src/rlgl.h index 530e44efc..0e29d7ef3 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -77,6 +77,8 @@ * #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE0 "texture0" // texture0 (texture slot active 0) * #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE1 "texture1" // texture1 (texture slot active 1) * #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 "texture2" // texture2 (texture slot active 2) +* #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE3 "texture3" // texture3 (texture slot active 3) +* #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE4 "texture4" // texture4 (texture slot active 4) * * DEPENDENCIES: * - OpenGL libraries (depending on platform and OpenGL version selected) @@ -1001,6 +1003,12 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad #ifndef RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 "texture2" // texture2 (texture slot active 2) #endif +#ifndef RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE3 + #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE3 "texture3" // texture3 (texture slot active 3) +#endif +#ifndef RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE4 + #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE4 "texture4" // texture2 (texture slot active 4) +#endif //---------------------------------------------------------------------------------- // Types and Structures Definition