From 38545237872ecb47ed7a2528c8b6ecd7cf80a52d Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Thu, 3 Dec 2015 09:17:41 -0800 Subject: [PATCH] Fixing 32 bit build breakage --- libraries/gpu/src/gpu/Batch.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/gpu/src/gpu/Batch.h b/libraries/gpu/src/gpu/Batch.h index 258f6d6488..da1f13151e 100644 --- a/libraries/gpu/src/gpu/Batch.h +++ b/libraries/gpu/src/gpu/Batch.h @@ -342,13 +342,17 @@ public: class Param { public: union { +#if (QT_POINTER_SIZE == 8) size_t _size; +#endif int32 _int; uint32 _uint; float _float; char _chars[sizeof(size_t)]; }; +#if (QT_POINTER_SIZE == 8) Param(size_t val) : _size(val) {} +#endif Param(int32 val) : _int(val) {} Param(uint32 val) : _uint(val) {} Param(float val) : _float(val) {}