Refactor shaders to use GLES3 syntax

Signed-off-by: renderexpert <expert@renderconsulting.co.uk>
This commit is contained in:
renderexpert
2025-01-21 14:39:31 +00:00
committed by Konstantin Pastbin
parent b23c2ba3e3
commit 897d7a253d
84 changed files with 471 additions and 543 deletions

View File

@@ -15,7 +15,7 @@ GLProgramPool::GLProgramPool(dp::ApiVersion apiVersion)
if (m_apiVersion == dp::ApiVersion::OpenGLES3)
{
#if defined(OMIM_OS_DESKTOP) && !defined(OMIM_OS_LINUX)
m_baseDefines = std::string(GL3_SHADER_VERSION) + "#define GLES3\n";
m_baseDefines = std::string(GL3_SHADER_VERSION);
#else
m_baseDefines = std::string(GLES3_SHADER_VERSION);
#endif