Cleanup: quiet -Warray-parameter warnings from GCC11

Some warnings remain that require larger changes.
This commit is contained in:
2021-05-21 15:45:25 +10:00
parent 6c6551c398
commit b13953b1f2
18 changed files with 30 additions and 32 deletions

View File

@@ -546,7 +546,7 @@ float RE_engine_get_camera_shift_x(RenderEngine *engine, Object *camera, bool us
void RE_engine_get_camera_model_matrix(RenderEngine *engine,
Object *camera,
bool use_spherical_stereo,
float *r_modelmat)
float r_modelmat[16])
{
/* When using spherical stereo, get model matrix without multiview,
* leaving stereo to be handled by the engine. */