mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-10 20:25:06 +01:00
Copilot AI suggestions to comply with LLVM 19
This commit is contained in:
parent
84a6ffed25
commit
d868e0d0a2
@ -22,7 +22,7 @@ QString GetOpenGLRenderer() {
|
||||
QOpenGLContext context;
|
||||
if (context.create()) {
|
||||
context.makeCurrent(&surface);
|
||||
return QString::fromUtf8(context.functions()->glGetString(GL_RENDERER));
|
||||
return QString::fromUtf8(reinterpret_cast<const char*>(context.functions()->glGetString(GL_RENDERER)));
|
||||
} else {
|
||||
return QStringLiteral("");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user