Skip to content

fix strange behavior gcc 13

Franck Galpin requested to merge Franck/sadl_new:fix_gcc13_heisenbug into master

in gcc 13, the line

out_H = (int)std::floor((float) (in_H + m_pads[0] + m_pads[2] - k_h) / s_h + 1);

gives strange results when compiled in release mode a workaround is provided

Merge request reports

Loading