OES_geometry_shader can be supported by non-GLES 3.2 conformant devices (eg Pi 4)

This commit is contained in:
dankcushions 2020-11-28 17:48:46 +00:00
parent d1a42df121
commit 82b4edfaf4

View file

@ -258,7 +258,7 @@ void GPU_HW_OpenGL::SetCapabilities(HostDisplay* host_display)
if (!m_supports_dual_source_blend) if (!m_supports_dual_source_blend)
Log_WarningPrintf("Dual-source blending is not supported, this may break some mask effects."); Log_WarningPrintf("Dual-source blending is not supported, this may break some mask effects.");
m_supports_geometry_shaders = GLAD_GL_VERSION_3_2 || GLAD_GL_ARB_geometry_shader4 || GLAD_GL_ES_VERSION_3_2; m_supports_geometry_shaders = GLAD_GL_VERSION_3_2 || GLAD_GL_ARB_geometry_shader4 || GLAD_GL_OES_geometry_shader || GLAD_GL_ES_VERSION_3_2;
if (!m_supports_geometry_shaders) if (!m_supports_geometry_shaders)
{ {
Log_WarningPrintf("Geometry shaders are not supported, line rendering at higher resolutions may be incorrect. We " Log_WarningPrintf("Geometry shaders are not supported, line rendering at higher resolutions may be incorrect. We "