summaryrefslogtreecommitdiff
path: root/platform/iphone
diff options
context:
space:
mode:
authorSam Green <greensamuelm@gmail.com>2020-02-21 20:48:19 -0800
committerSam Green <greensamuelm@gmail.com>2020-02-21 20:48:19 -0800
commit6e25a5448d7c8c5a873d4355e71297baebe84b27 (patch)
tree4055d04b152cde47b3611d4f92c8b10fcb9a9ab0 /platform/iphone
parent7c1415b99b7c537dcd5e9886cffde7a92ba5f7f0 (diff)
Import the correct rasterizer based on build settings
Diffstat (limited to 'platform/iphone')
-rw-r--r--platform/iphone/os_iphone.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/iphone/os_iphone.cpp b/platform/iphone/os_iphone.cpp
index 634062f46b..f7676a0b79 100644
--- a/platform/iphone/os_iphone.cpp
+++ b/platform/iphone/os_iphone.cpp
@@ -32,7 +32,14 @@
#include "os_iphone.h"
+#if defined(OPENGL_ENABLED)
#include "drivers/gles2/rasterizer_gles2.h"
+#endif
+
+#if defined(VULKAN_ENABLED)
+#include "servers/visual/rasterizer_rd/rasterizer_rd.h"
+#endif
+
#include "servers/visual/visual_server_raster.h"
#include "servers/visual/visual_server_wrap_mt.h"