Files
MinecraftLegends/Win32.DX11.Release/data/shaders/glsl/uniformMacro.h
T
2026-03-08 15:34:38 -05:00

15 lines
414 B
C

#ifndef _UNIFORM_MACRO_H
#define _UNIFORM_MACRO_H
#ifdef MCPE_PLATFORM_NX
// Unfortunately this macro does not work on old Amazon platforms #define BEGIN_UNIFORM_BLOCK(x) uniform x {
#define END_UNIFORM_BLOCK };
#define UNIFORM
#else
// Unfortunately this macro does not work on old Amazon platforms #define BEGIN_UNIFORM_BLOCK(x)
#define END_UNIFORM_BLOCK
#define UNIFORM uniform
#endif
#endif