Fix header size being used wrongly

* The sizes changed so these headers are total sized not cumulative
This commit is contained in:
baldurk committed 2024-01-22 14:10:42 +00:00
1 parent 5778f5b3e7
commit a232dc9a40
1 file changed
-1
@@ -1818,7 +1818,6 @@ void ProgramEditor::SetNumThreads(uint32_t dim[3])
if(*headerSize >= headerSizeVer2)
{
cur += headerSizeVer0;
cur += headerSizeVer1;
memcpy(cur, dim, sizeof(uint32_t) * 3);
}