mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 22:53:43 +00:00
Refactor shaders to use GLES3 syntax
Signed-off-by: renderexpert <expert@renderconsulting.co.uk>
This commit is contained in:
committed by
Konstantin Pastbin
parent
b23c2ba3e3
commit
897d7a253d
@@ -32,11 +32,6 @@ void SupportManager::Init(ref_ptr<GraphicsContext> context)
|
||||
m_rendererVersion = context->GetRendererVersion();
|
||||
LOG(LINFO, ("Renderer =", m_rendererName, "| Api =", context->GetApiVersion(), "| Version =", m_rendererVersion));
|
||||
|
||||
m_isSamsungGoogleNexus = (m_rendererName == "PowerVR SGX 540" &&
|
||||
m_rendererVersion.find("GOOGLENEXUS.ED945322") != std::string::npos);
|
||||
if (m_isSamsungGoogleNexus)
|
||||
LOG(LINFO, ("Samsung Google Nexus detected."));
|
||||
|
||||
if (m_rendererName.find("Adreno") != std::string::npos)
|
||||
{
|
||||
std::array<std::string_view, 5> constexpr models = { "200", "203", "205", "220", "225" };
|
||||
|
||||
Reference in New Issue
Block a user