From 6e25a5448d7c8c5a873d4355e71297baebe84b27 Mon Sep 17 00:00:00 2001 From: Sam Green Date: Fri, 21 Feb 2020 20:48:19 -0800 Subject: Import the correct rasterizer based on build settings --- platform/iphone/os_iphone.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'platform/iphone') 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" -- cgit v1.2.3