added metal support for macosx version (based on rust_minifb) (#17)

This commit is contained in:
Darky-Lucera
2019-03-03 23:34:38 +01:00
committed by Daniel Collin
parent cb49ea94a0
commit d6a52459ef
5 changed files with 324 additions and 14 deletions

View File

@@ -5,6 +5,7 @@
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#if !defined(USE_METAL_API)
- (id)initWithContentRect:(NSRect)contentRect
styleMask:(NSWindowStyleMask)windowStyle
backing:(NSBackingStoreType)bufferingType
@@ -42,6 +43,7 @@
}
return self;
}
#endif
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////