mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 03:54:17 +01:00
apply clang-format
This commit is contained in:
parent
9ff1bcbae0
commit
5273a841a7
@ -22,7 +22,8 @@ QString GetOpenGLRenderer() {
|
||||
QOpenGLContext context;
|
||||
if (context.create()) {
|
||||
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 {
|
||||
return QStringLiteral("");
|
||||
}
|
||||
|
@ -2251,7 +2251,7 @@ std::optional<SOC_U::InterfaceInfo> SOC_U::GetDefaultInterfaceInfo() {
|
||||
socklen_t s_info_len = sizeof(struct sockaddr_in);
|
||||
sockaddr_in s_info;
|
||||
|
||||
if (static_cast<int>(sock_fd = ::socket(AF_INET, SOCK_STREAM, 0)) == -1) {
|
||||
if (static_cast<int>(sock_fd = ::socket(AF_INET, SOCK_STREAM, 0)) == -1) {
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user