Skip to content

Instantly share code, notes, and snippets.

View jim-ec's full-sized avatar

Jim Eckerlein jim-ec

View GitHub Profile
@rotoglup
rotoglup / minimal-metal-app.mm
Last active May 20, 2021 08:10
Minimal OSX Metal Application, single file
#include <Cocoa/Cocoa.h>
#import <Metal/Metal.h>
#import <MetalKit/MetalKit.h>
#import <simd/simd.h>
// BUG: on OSX 10.15.6, the App menu is not clickable at the first activation, but becomes so after switching to another app
//----------------------------------------------------------------------------