aboutsummaryrefslogtreecommitdiff
path: root/vendor/dmitri.shuralyov.com/gpu/mtl/mtl.m
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/dmitri.shuralyov.com/gpu/mtl/mtl.m')
-rw-r--r--vendor/dmitri.shuralyov.com/gpu/mtl/mtl.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/dmitri.shuralyov.com/gpu/mtl/mtl.m b/vendor/dmitri.shuralyov.com/gpu/mtl/mtl.m
index e28eef1..b717b77 100644
--- a/vendor/dmitri.shuralyov.com/gpu/mtl/mtl.m
+++ b/vendor/dmitri.shuralyov.com/gpu/mtl/mtl.m
@@ -1,7 +1,6 @@
// +build darwin
#import <Metal/Metal.h>
-#include <stdlib.h>
#include "mtl.h"
struct Device CreateSystemDefaultDevice() {
@@ -40,7 +39,7 @@ struct Devices CopyAllDevices() {
return d;
}
-BOOL Device_SupportsFeatureSet(void * device, uint16_t featureSet) {
+bool Device_SupportsFeatureSet(void * device, uint16_t featureSet) {
return [(id<MTLDevice>)device supportsFeatureSet:featureSet];
}