summaryrefslogtreecommitdiffstats
path: root/tools/gfx/apple
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-29 14:49:26 +0800
committerGitHub <noreply@github.com>2024-10-29 14:49:26 +0800
commitf65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch)
treeea1d61342cd29368e19135000ec2948813096205 /tools/gfx/apple
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'tools/gfx/apple')
-rw-r--r--tools/gfx/apple/cocoa-util.h10
1 files changed, 6 insertions, 4 deletions
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