From 53f5d1d94c5027fb05ea27bd4f06124a95c4f2c3 Mon Sep 17 00:00:00 2001 From: Evgeny Gorodetskiy Date: Thu, 2 Jan 2025 19:05:43 +0300 Subject: [PATCH] Fix size of scene uniforms structure --- Modules/Simulation/Shaders/AsteroidUniforms.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/Simulation/Shaders/AsteroidUniforms.h b/Modules/Simulation/Shaders/AsteroidUniforms.h index aa831c3..d10a33a 100644 --- a/Modules/Simulation/Shaders/AsteroidUniforms.h +++ b/Modules/Simulation/Shaders/AsteroidUniforms.h @@ -25,6 +25,9 @@ struct SceneUniforms float4x4 view_proj_matrix; float3 eye_position; float3 light_position; +#ifndef __cplusplus + float _; +#endif }; struct META_UNIFORM_ALIGN AsteroidUniforms