UINT32_MAX not defined on random platforms even though we are including

stdint - just resort to dropping in real value instead
This commit is contained in:
twinaphex 2018-02-07 01:10:14 +01:00
parent f30f597499
commit 35300bf08b

View File

@ -65,7 +65,7 @@ using MSLStructMemberKey = uint64_t;
// Special constant used in a MSLResourceBinding desc_set
// element to indicate the bindings for the push constants.
static const uint32_t kPushConstDescSet = UINT32_MAX;
static const uint32_t kPushConstDescSet = ((uint32_t)-1);
// Special constant used in a MSLResourceBinding binding
// element to indicate the bindings for the push constants.