From 6a7944a1f8264733f1cfabec81a8dc8f738cad81 Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 23 Jan 2024 20:05:54 +0200 Subject: [PATCH] format --- src/ruisapp/glue/linux/glue.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ruisapp/glue/linux/glue.cxx b/src/ruisapp/glue/linux/glue.cxx index f6ee25b..65094fc 100644 --- a/src/ruisapp/glue/linux/glue.cxx +++ b/src/ruisapp/glue/linux/glue.cxx @@ -602,7 +602,13 @@ struct window_wrapper : public utki::destructable { // disable v-sync glx_swap_interval_ext(this->display.display, this->window, 0); - } else if (std::find(glx_extensions.begin(), glx_extensions.end(), "GLX_MESA_swap_control") != glx_extensions.end()) + } else if ( // + std::find( // + glx_extensions.begin(), + glx_extensions.end(), + "GLX_MESA_swap_control" + ) != glx_extensions.end() + ) { LOG([](auto& o) { o << "GLX_MESA_swap_control is supported\n";