diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-04 05:43:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-04 05:43:10 +0400 |
commit | a90e49e40a44f606c08dfc460f4e0243702c1bdf (patch) | |
tree | 8b1fad72e24253791253f0376546fa6f1e48e150 /source/blender/editors | |
parent | a039f2bfc468ae293b1aa3643419f91c1723f5c9 (diff) |
Tweaks to macros
Diffstat (limited to 'source/blender/editors')
-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)) \ ) |