GLContext: Fix Android context creation

This commit is contained in:
Connor McLaughlin
2020-07-07 00:59:49 +10:00
parent da180a1c4f
commit 729e1b3392
5 changed files with 10 additions and 14 deletions

View File

@ -74,6 +74,8 @@ std::unique_ptr<GL::Context> Context::Create(const WindowInfo& wi, const Version
context = ContextWGL::Create(wi, versions_to_try, num_versions_to_try);
#elif defined(__APPLE__)
context = ContextAGL::Create(wi, versions_to_try, num_versions_to_try);
#elif defined(ANDROID)
context = ContextEGLAndroid::Create(wi, versions_to_try, num_versions_to_try);
#else
if (wi.type == WindowInfo::Type::X11)
{