commit 9b2b34d236e0d255564dadb206949f63c3cba23f
Author: leszek <leszek@koltunski.pl>
Date:   Thu Jan 2 13:25:01 2025 +0100

    Bugfix in the main vertex shader: now the 'component association' buffers might be needed even if there are no vertex effects.

diff --git a/src/main/res/raw/main_vertex_shader.glsl b/src/main/res/raw/main_vertex_shader.glsl
index bf5b542..49617be 100644
--- a/src/main/res/raw/main_vertex_shader.glsl
+++ b/src/main/res/raw/main_vertex_shader.glsl
@@ -47,6 +47,18 @@ layout (std140) uniform componentCenter
   };
 #endif
 
+#ifdef BUGGY_UBOS
+layout (packed) uniform componentAssociation
+  {
+  ivec2 vComAssoc[MAX_COMPON];        // component 'AND' and 'EQU' Associations
+  };
+#else
+layout (std140) uniform componentAssociation
+  {
+  ivec4 vComAssoc[MAX_COMPON];        // component 'AND' and 'EQU' Associations
+  };
+#endif
+
 #if NUM_VERTEX>0
 uniform int vNumEffects;              // total number of vertex effects
 
@@ -66,18 +78,6 @@ layout (std140) uniform vUniformFloats
                                       // second vec4: first float - cache, next 3: Center, the third -  the Region.
   };
 
-#ifdef BUGGY_UBOS
-layout (packed) uniform componentAssociation
-  {
-  ivec2 vComAssoc[MAX_COMPON];        // component 'AND' and 'EQU' Associations
-  };
-#else
-layout (std140) uniform componentAssociation
-  {
-  ivec4 vComAssoc[MAX_COMPON];        // component 'AND' and 'EQU' Associations
-  };
-#endif
-
 //////////////////////////////////////////////////////////////////////////////////////////////
 // HELPER FUNCTIONS
 //////////////////////////////////////////////////////////////////////////////////////////////
