Skip to content

Commit

Permalink
sokol_gfx.h metal: remove redundant MTLGPUFamilyApple8 check (see #914)
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Oct 6, 2023
1 parent 5bfa842 commit d98c8b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sokol_gfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -10757,7 +10757,6 @@ _SOKOL_PRIVATE void _sg_mtl_init_caps(void) {
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= 120000) || (__IPHONE_OS_VERSION_MAX_ALLOWED >= 140000)
if (@available(macOS 12.0, iOS 14.0, *)) {
_sg.features.image_clamp_to_border = [_sg.mtl.device supportsFamily:MTLGPUFamilyApple7]
|| [_sg.mtl.device supportsFamily:MTLGPUFamilyApple8]
|| [_sg.mtl.device supportsFamily:MTLGPUFamilyMac2];
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= 130000) || (__IPHONE_OS_VERSION_MAX_ALLOWED >= 160000)
if (!_sg.features.image_clamp_to_border) {
Expand Down

0 comments on commit d98c8b9

Please sign in to comment.