mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:25:52 +02:00
commit
59c6a6dfea
2 changed files with 6 additions and 1 deletions
|
@ -203,7 +203,7 @@ int main(int argc, const char* argv[]) {
|
||||||
Application::shutdownPlugins();
|
Application::shutdownPlugins();
|
||||||
|
|
||||||
qCDebug(interfaceapp, "Normal exit.");
|
qCDebug(interfaceapp, "Normal exit.");
|
||||||
#ifndef DEBUG
|
#if !defined(DEBUG) && !defined(Q_OS_LINUX)
|
||||||
// HACK: exit immediately (don't handle shutdown callbacks) for Release build
|
// HACK: exit immediately (don't handle shutdown callbacks) for Release build
|
||||||
_exit(exitCode);
|
_exit(exitCode);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -174,9 +174,14 @@ void RenderableWebEntityItem::render(RenderArgs* args) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!_webSurface) {
|
if (!_webSurface) {
|
||||||
|
#if defined(Q_OS_LINUX)
|
||||||
|
// these don't seem to work on Linux
|
||||||
|
return;
|
||||||
|
#else
|
||||||
if (!buildWebSurface(static_cast<EntityTreeRenderer*>(args->_renderer))) {
|
if (!buildWebSurface(static_cast<EntityTreeRenderer*>(args->_renderer))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
_lastRenderTime = usecTimestampNow();
|
_lastRenderTime = usecTimestampNow();
|
||||||
|
|
Loading…
Reference in a new issue