diff options
Diffstat (limited to 'source/blender/editors/include/BIF_gl.h')
-rw-r--r-- | source/blender/editors/include/BIF_gl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/BIF_gl.h b/source/blender/editors/include/BIF_gl.h index 4258bbcd359..9fa603966b6 100644 --- a/source/blender/editors/include/BIF_gl.h +++ b/source/blender/editors/include/BIF_gl.h @@ -61,14 +61,14 @@ void cpack(unsigned int x); #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) # define glMultMatrixf(x) \ - glMultMatrixf(_Generic(x, \ + glMultMatrixf(_Generic((x), \ float *: (float *)(x), \ float (*)[4]: (float *)(x), \ const float *: (float *)(x), \ const float (*)[4]: (float *)(x)) \ ) # define glLoadMatrixf(x) \ - glLoadMatrixf(_Generic(x, \ + glLoadMatrixf(_Generic((x), \ float *: (float *)(x), \ float (*)[4]: (float *)(x)) \ ) |