From ef388ba4d6fb66b8ebccde7325b566cdac8fbd38 Mon Sep 17 00:00:00 2001 From: Bram Oosterhuis Date: Mon, 15 Jan 2024 15:29:27 +0100 Subject: [PATCH] CompositorBufferType: EventFrame should be 64bit also on 32bit --- .../include/compositorbuffer/CompositorBufferType.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/compositorbuffer/include/compositorbuffer/CompositorBufferType.h b/Source/compositorbuffer/include/compositorbuffer/CompositorBufferType.h index 1ce17c4..9a8fcc8 100644 --- a/Source/compositorbuffer/include/compositorbuffer/CompositorBufferType.h +++ b/Source/compositorbuffer/include/compositorbuffer/CompositorBufferType.h @@ -37,14 +37,7 @@ namespace Compositor { template class CompositorBufferType : public Exchange::ICompositionBuffer, public Core::IResource { private: -// We need to test this on a 32 bit platform. On 64 bits platforms we do need -// the data to be written into the eventfd to be 64 bits otherwise it does not -// respond! -#if defined(__SIZEOF_POINTER__) && (__SIZEOF_POINTER__ == 8) using EventFrame = uint64_t; -#else - using EventFrame = uint32_t; -#endif // We need some shared space for data to exchange, and to create a lock.. class SharedStorage {