Added texture name macros for texture3 and 4

This commit is contained in:
André Jonsson 2024-07-19 16:58:35 +02:00
parent c08cf299be
commit 79c7980f68

View File

@ -77,6 +77,8 @@
* #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE0 "texture0" // texture0 (texture slot active 0) * #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_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_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: * DEPENDENCIES:
* - OpenGL libraries (depending on platform and OpenGL version selected) * - 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 #ifndef RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2
#define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 "texture2" // texture2 (texture slot active 2) #define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 "texture2" // texture2 (texture slot active 2)
#endif #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 // Types and Structures Definition