aboutsummaryrefslogtreecommitdiffstats
path: root/tools/materialeditor/materialadapter.h
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-07-04 11:56:07 +0200
committerMarc Mutz <[email protected]>2025-07-10 18:08:36 +0200
commitf02a0f6f8a3c79659fff5093a340e396590eda10 (patch)
treeac2adcfccc543fab49db16cd8d30062b63d15a84 /tools/materialeditor/materialadapter.h
parentbc613810d863eeb348b92a4d1fc83c9a3c09fab2 (diff)
qquick3dparticleutils: check extent of qt_quick3d_sine_table[]HEADdev
Let the compiler count the number of elements in qt_quick3d_sine_table[], and then statically assert that it's as expected. We had enough cases where zero-inialized elements were added at the end silently by using the old technique. As a drive-by, add Q_CONSTINIT. Amends 0b4f59d0660b9d508c394e0b3039637364c89287. Pick-to: 6.10 6.9 6.8 6.5 Change-Id: I1c3f6136803f5d2e292ea7eb827ef470efb54a61 Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'tools/materialeditor/materialadapter.h')
0 files changed, 0 insertions, 0 deletions