some code cleanup

Removal of translations around debug messages since these waste cycles and are
likely not useful
This commit is contained in:
itsmattkc
2019-10-31 21:45:53 +11:00
parent e03e0007e4
commit 133dab1666
11 changed files with 49 additions and 48 deletions
+2 -2
View File
@@ -61,13 +61,13 @@ bool RenderInstance::Start()
// Create OpenGL context (automatically destroys any existing if there is one)
if (!ctx_->create()) {
qWarning() << tr("Failed to create OpenGL context in thread %1").arg(reinterpret_cast<quintptr>(this));
qWarning() << QStringLiteral("Failed to create OpenGL context in thread %1").arg(reinterpret_cast<quintptr>(this));
return false;
}
// Make context current on that surface
if (!ctx_->makeCurrent(&surface_)) {
qWarning() << tr("Failed to makeCurrent() on offscreen surface in thread %1").arg(reinterpret_cast<quintptr>(this));
qWarning() << QStringLiteral("Failed to makeCurrent() on offscreen surface in thread %1").arg(reinterpret_cast<quintptr>(this));
return false;
}