apply clang-format

This commit is contained in:
Reg Tiangha 2024-03-23 09:53:04 -06:00
parent 9ff1bcbae0
commit 5273a841a7
No known key found for this signature in database
GPG key ID: 00D437798B1C2970
2 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,8 @@ QString GetOpenGLRenderer() {
QOpenGLContext context; QOpenGLContext context;
if (context.create()) { if (context.create()) {
context.makeCurrent(&surface); context.makeCurrent(&surface);
return QString::fromUtf8(reinterpret_cast<const char*>(context.functions()->glGetString(GL_RENDERER))); return QString::fromUtf8(
reinterpret_cast<const char*>(context.functions()->glGetString(GL_RENDERER)));
} else { } else {
return QStringLiteral(""); return QStringLiteral("");
} }