Skip to content

Commit

Permalink
SampleAppAndroid: select GLES when Vulkan is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Oct 11, 2021
1 parent 11e5a44 commit 2ce0ba3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SampleBase/src/Android/SampleAppAndroid.cpp
Expand Up @@ -40,7 +40,11 @@ class SampleAppAndroid final : public SampleApp
public:
SampleAppAndroid()
{
#if VULKAN_SUPPORTED
m_DeviceType = RENDER_DEVICE_TYPE_VULKAN;
#else
m_DeviceType = RENDER_DEVICE_TYPE_GLES;
#endif
}

virtual void DrawFrame() override final
Expand Down

0 comments on commit 2ce0ba3

Please sign in to comment.