16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00
This commit is contained in:
milek7
2018-07-08 21:44:31 +02:00
parent 13ba3fcd13
commit fba3b253a7
4 changed files with 9 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ namespace gl
// structs must match with GLSL
// ordered to minimize padding
_Pragma("pack(push, 1)")
#pragma pack(push, 1)
struct scene_ubs
{
@@ -96,5 +96,5 @@ namespace gl
static_assert(sizeof(light_ubs) == 32 + sizeof(light_element_ubs) * MAX_LIGHTS, "bad size of ubs");
_Pragma("pack(pop)")
#pragma pack(pop)
}