summaryrefslogtreecommitdiffstats
path: root/NativeApp/Apple/Source
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-29 16:56:59 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-29 16:56:59 +0000
commitc6ebeeb0fb6a9c57fd336aad16fcdc0b597e50b7 (patch)
tree764651f4fdebd14fb1e5758da663e65690641ab8 /NativeApp/Apple/Source
parentUpdates to comply with the new API (diff)
downloadDiligentTools-c6ebeeb0fb6a9c57fd336aad16fcdc0b597e50b7.tar.gz
DiligentTools-c6ebeeb0fb6a9c57fd336aad16fcdc0b597e50b7.zip
Fixed a bunch of minor Linux/iOS/MacOS build issues
Diffstat (limited to 'NativeApp/Apple/Source')
-rw-r--r--NativeApp/Apple/Source/Classes/iOS/EAGLView.m2
-rw-r--r--NativeApp/Apple/Source/Classes/iOS/MetalView.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/NativeApp/Apple/Source/Classes/iOS/EAGLView.m b/NativeApp/Apple/Source/Classes/iOS/EAGLView.m
index ff02820..930c7e2 100644
--- a/NativeApp/Apple/Source/Classes/iOS/EAGLView.m
+++ b/NativeApp/Apple/Source/Classes/iOS/EAGLView.m
@@ -43,7 +43,7 @@
return nil;
}
- [self initApp:(int)Diligent::DeviceType::OpenGLES];
+ [self initApp:(int)Diligent::RENDER_DEVICE_TYPE_GLES];
}
return self;
diff --git a/NativeApp/Apple/Source/Classes/iOS/MetalView.m b/NativeApp/Apple/Source/Classes/iOS/MetalView.m
index 67c2a27..4a805af 100644
--- a/NativeApp/Apple/Source/Classes/iOS/MetalView.m
+++ b/NativeApp/Apple/Source/Classes/iOS/MetalView.m
@@ -19,7 +19,7 @@
{
if ((self = [super initWithCoder:coder]))
{
- [self initApp:(int)Diligent::DeviceType::Vulkan];
+ [self initApp:(int)Diligent::RENDER_DEVICE_TYPE_VULKAN];
}
return self;