vtgl

terminal emulator implemented in OpenGL
git clone anongit@rnpnr.xyz:vtgl.git
Log | Files | Refs | Feed | LICENSE

Commit: a8c5fa537bcb7eecb5a4f2da8a0d8a45ed6202a3
Parent: 17cdb1108111ff4ebdd0f01e9c76890aca6a4945
Author: Randy Palamar
Date:   Tue, 22 Oct 2024 07:05:04 -0600

drop Pmat from post uniforms list

Diffstat:
Mutil.h | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/util.h b/util.h @@ -186,7 +186,6 @@ typedef struct { #define SHADER_PMAT_LOC 0 #define GL_POST_UNIFORMS \ - X(Pmat) \ X(param) \ X(texslot) @@ -247,10 +246,7 @@ typedef struct { u32 programs[SHADER_LAST]; #define X(name) i32 name; - union { - struct { GL_POST_UNIFORMS }; - i32 uniforms[3]; - } post; + struct { GL_POST_UNIFORMS } post; #undef X _Alignas(16) ShaderParameters shader_parameters;