mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user