Add 'const' to pointer parameters

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2025-02-21 15:59:40 -08:00
1 parent 911e53dece
commit b5297de56f
6 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -152,7 +152,7 @@ perspective_matrix(float fovy, float aspect, float znear, float zfar, float *r)
* major. In-place multiplication is supported.
*/
static void
multiply_matrix(float *lhs, float *rhs, float *r)
multiply_matrix(const float *lhs, const float *rhs, float *r)
{
int i, j, k;
float tmp[16];