diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-04 08:57:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-04 08:58:03 +0300 |
commit | 39b86a989da5053ae5d6628834e5b78a16e6dffa (patch) | |
tree | 6f6b2b45494c9215f062924d43de2fd8f554c74e /source/blender/python/gpu | |
parent | d10700a3ac4ae827a8f429df858fc45ff0e6295e (diff) |
Cleanup: use const arrays
Diffstat (limited to 'source/blender/python/gpu')
-rw-r--r-- | source/blender/python/gpu/gpu_py_offscreen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/gpu/gpu_py_offscreen.c b/source/blender/python/gpu/gpu_py_offscreen.c index 9d5671ff702..dff4b169f9a 100644 --- a/source/blender/python/gpu/gpu_py_offscreen.c +++ b/source/blender/python/gpu/gpu_py_offscreen.c @@ -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, "", |