Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions src/libprojectM/Renderer/Platform/GLResolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,20 @@ auto GLResolver::Initialize(UserResolver resolver, void* userData) -> bool
std::string reason;
if (!HasCurrentContext(currentContext, reason))
{
m_loaded = false;
LOG_ERROR(std::string("[GLResolver] No current GL context present: ") + reason);
return false;
if (state.m_userResolver != nullptr)
{
currentContext.eglCurrent = true;
currentContext.eglAvailable = true;
LOG_INFO(std::string("[GLResolver] Current context could not be probed: ") +
reason +
"; assuming app-managed EGL/GLES context because a user resolver was supplied");
}
else
{
m_loaded = false;
LOG_ERROR(std::string("[GLResolver] No current GL context present: ") + reason);
return false;
}
}
}

Expand Down