mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 09:32:30 -06:00
apply clang-format
This commit is contained in:
parent
9ff1bcbae0
commit
5273a841a7
2 changed files with 3 additions and 2 deletions
|
@ -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("");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue