Blender Git Loki

Git Commits -> Revision 6e4fccd

Revision 6e4fccd by Evan Wilson (master)
December 11, 2020, 07:45 (GMT)
Correct the order of the last two arguments in `eevee_cryptomatte_shading_group_create`

When compiling on Windows, the following warnings occur:
```[3468/4560] Building C object sourceblenderdrawCMakeFilesbf_draw.direngineseeveeeevee_cryptomatte.c.obj
C:blender-gitblendersourceblenderdrawengineseeveeeevee_cryptomatte.c(306): warning C4047: 'function': 'bool' differs in levels of indirection from 'void *'
C:blender-gitblendersourceblenderdrawengineseeveeeevee_cryptomatte.c(306): warning C4024: 'eevee_cryptomatte_shading_group_create': different types for formal and actual parameter 5```

As @Severin pointed out [here](https://developer.blender.org/rB76a0b322e4d3244e59a154c8255b84a4fbc33117#288960), this is due to the last two arguments being flipped. This diff corrects the order.

Reviewed By: Severin, fclem

Differential Revision: https://developer.blender.org/D9809

Commit Details:

Full Hash: 6e4fccd9fae37c20bc3b8ff52aeb5bf1328c56ad
Parent Commit: 219dba8
Committed By: Jeroen Bakker
Lines Changed: +1, -1

1 Modified Path:

/source/blender/draw/engines/eevee/eevee_cryptomatte.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021