mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 15:23:56 +02:00
Fixing mac build
This commit is contained in:
parent
0c990c621d
commit
511eb34e5f
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ gpu::gl::GLBackend* OpenGLDisplayPlugin::getGLBackend() {
|
|||
return nullptr;
|
||||
}
|
||||
auto backend = _gpuContext->getBackend().get();
|
||||
#if Q_OS_MAC
|
||||
#if defined(Q_OS_MAC)
|
||||
// Should be dynamic_cast, but that doesn't work in plugins on OSX
|
||||
auto glbackend = static_cast<gpu::gl::GLBackend*>(backend);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue