diff options
author | Sam Green <greensamuelm@gmail.com> | 2020-02-21 20:48:19 -0800 |
---|---|---|
committer | Sam Green <greensamuelm@gmail.com> | 2020-02-21 20:48:19 -0800 |
commit | 6e25a5448d7c8c5a873d4355e71297baebe84b27 (patch) | |
tree | 4055d04b152cde47b3611d4f92c8b10fcb9a9ab0 /platform/iphone | |
parent | 7c1415b99b7c537dcd5e9886cffde7a92ba5f7f0 (diff) |
Import the correct rasterizer based on build settings
Diffstat (limited to 'platform/iphone')
-rw-r--r-- | platform/iphone/os_iphone.cpp | 7 |
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" |