Closed DctrNoob closed 2 years ago
I get this new deprecation warning as of macOS 13.0. Looks like it shall be replaced by rasterSampleCount.
rasterSampleCount
[build] sokol_gfx.h:10912:13: warning: 'sampleCount' is deprecated: first deprecated in macOS 13.0 [-Wdeprecated-declarations] [build] rp_desc.sampleCount = (NSUInteger)desc->sample_count; [build] ^~~~~~~~~~~ [build] rasterSampleCount [build] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h:155:45: note: 'sampleCount' has been explicitly marked deprecated here [build] @property (readwrite, nonatomic) NSUInteger sampleCount API_DEPRECATED_WITH_REPLACEMENT("rasterSampleCount", macos(10.11, 13.0), ios(8.0, 16.0)); [build] ^
I fixed that in this commit about 2 weeks ago, can you try that version?
https://github.com/floooh/sokol/commit/494b8d9e9766e7923428abeef84a2ef8c4164d7f
I get this new deprecation warning as of macOS 13.0. Looks like it shall be replaced by
rasterSampleCount
.