From 0634efbde9e547c0c6091f31cefdfef8483e1cf2 Mon Sep 17 00:00:00 2001 From: Clement Date: Mon, 1 Oct 2018 16:56:24 -0700 Subject: [PATCH] CR --- libraries/gpu-gl-common/src/gpu/gl/GLShared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/gpu-gl-common/src/gpu/gl/GLShared.h b/libraries/gpu-gl-common/src/gpu/gl/GLShared.h index 00301b1c81..1f40f7b7da 100644 --- a/libraries/gpu-gl-common/src/gpu/gl/GLShared.h +++ b/libraries/gpu-gl-common/src/gpu/gl/GLShared.h @@ -19,7 +19,7 @@ Q_DECLARE_LOGGING_CATEGORY(gpugllogging) Q_DECLARE_LOGGING_CATEGORY(trace_render_gpu_gl) Q_DECLARE_LOGGING_CATEGORY(trace_render_gpu_gl_detail) -#if defined(Q_OS_MAC) +#if defined(__clang__) #define BUFFER_OFFSET(bytes) (reinterpret_cast(bytes)) #else #define BUFFER_OFFSET(bytes) ((GLubyte*) nullptr + (bytes))