1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

simplify formatting scripts, add a clang-tidy script, and run clang-tidy

This commit is contained in:
Nathan Franke
2022-01-27 10:34:33 -06:00
parent 01f5d7c616
commit 8a0a3accee
36 changed files with 288 additions and 244 deletions

View File

@@ -1332,8 +1332,9 @@ int DisplayServerX11::window_get_current_screen(WindowID p_window) const {
void DisplayServerX11::gl_window_make_current(DisplayServer::WindowID p_window_id) {
#if defined(GLES3_ENABLED)
if (gl_manager)
if (gl_manager) {
gl_manager->window_make_current(p_window_id);
}
#endif
}