From f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 29 Oct 2024 14:49:26 +0800 Subject: format * format * Minor test fixes * enable checking cpp format in ci --- tools/gfx/apple/cocoa-util.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tools/gfx/apple') diff --git a/tools/gfx/apple/cocoa-util.h b/tools/gfx/apple/cocoa-util.h index e9d29b87c..427cf1570 100644 --- a/tools/gfx/apple/cocoa-util.h +++ b/tools/gfx/apple/cocoa-util.h @@ -1,15 +1,17 @@ #pragma once -namespace gfx { +namespace gfx +{ // Utility functions for Cocoa -struct CocoaUtil { +struct CocoaUtil +{ static void getNSWindowContentSize(void* nswindow, int* widthOut, int* heightOut); static void* createMetalLayer(void* nswindow); static void destroyMetalLayer(void* metalLayer); - static void* nextDrawable(void* metalLayer) ; + static void* nextDrawable(void* metalLayer); }; -} +} // namespace gfx -- cgit v1.2.3