Metal platform fixes

This commit is contained in:
Jack Andersen
2016-07-31 10:25:02 -10:00
parent 0ee5944387
commit 2ec943f0b2
5 changed files with 10 additions and 23 deletions

View File

@@ -1,11 +1,7 @@
#ifndef GDEV_METAL_HPP
#define GDEV_METAL_HPP
#ifdef __APPLE__
#include <Availability.h>
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100
#define BOO_HAS_METAL 1
#if BOO_HAS_METAL
#include "IGraphicsDataFactory.hpp"
#include "IGraphicsCommandQueue.hpp"
@@ -80,9 +76,6 @@ public:
}
#else
#define BOO_HAS_METAL 0
#endif
#endif // __APPLE__
#endif // GDEV_METAL_HPP