diff options
Diffstat (limited to 'tools/gfx/apple')
| -rw-r--r-- | tools/gfx/apple/cocoa-util.h | 10 |
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 |
