mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 17:02:57 +02:00
CR
This commit is contained in:
parent
8983fe2bcf
commit
0634efbde9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
Q_DECLARE_LOGGING_CATEGORY(trace_render_gpu_gl_detail)
|
Q_DECLARE_LOGGING_CATEGORY(trace_render_gpu_gl_detail)
|
||||||
|
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(__clang__)
|
||||||
#define BUFFER_OFFSET(bytes) (reinterpret_cast<GLvoid*>(bytes))
|
#define BUFFER_OFFSET(bytes) (reinterpret_cast<GLvoid*>(bytes))
|
||||||
#else
|
#else
|
||||||
#define BUFFER_OFFSET(bytes) ((GLubyte*) nullptr + (bytes))
|
#define BUFFER_OFFSET(bytes) ((GLubyte*) nullptr + (bytes))
|
||||||
|
|
Loading…
Reference in a new issue