|
Line 0
Link Here
|
|
|
1 |
--- source/blender/editors/include/BIF_gl.h.orig 2015-01-21 13:31:24.000000000 +0100 |
| 2 |
+++ source/blender/editors/include/BIF_gl.h 2015-03-09 08:44:01.942737000 +0100 |
| 3 |
@@ -54,14 +54,14 @@ |
| 4 |
|
| 5 |
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) |
| 6 |
# define glMultMatrixf(x) \ |
| 7 |
- glMultMatrixf(_Generic((x), \ |
| 8 |
+ glMultMatrixf(_Generic((0, x), \ |
| 9 |
float *: (float *)(x), \ |
| 10 |
float (*)[4]: (float *)(x), \ |
| 11 |
const float *: (float *)(x), \ |
| 12 |
const float (*)[4]: (float *)(x)) \ |
| 13 |
) |
| 14 |
# define glLoadMatrixf(x) \ |
| 15 |
- glLoadMatrixf(_Generic((x), \ |
| 16 |
+ glLoadMatrixf(_Generic((0, x), \ |
| 17 |
float *: (float *)(x), \ |
| 18 |
float (*)[4]: (float *)(x)) \ |
| 19 |
) |