Cleanup: use const arrays
This commit is contained in:
@@ -336,8 +336,8 @@ static PyObject *pygpu_offscreen_draw_view3d(BPyGPUOffScreen *self, PyObject *ar
|
||||
region,
|
||||
GPU_offscreen_width(self->ofs),
|
||||
GPU_offscreen_height(self->ofs),
|
||||
(float(*)[4])py_mat_view->matrix,
|
||||
(float(*)[4])py_mat_projection->matrix,
|
||||
(const float(*)[4])py_mat_view->matrix,
|
||||
(const float(*)[4])py_mat_projection->matrix,
|
||||
true,
|
||||
true,
|
||||
"",
|
||||
|
Reference in New Issue
Block a user