mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
OES_geometry_shader can be supported by non-GLES 3.2 conformant devices (eg Pi 4)
This commit is contained in:
parent
d1a42df121
commit
82b4edfaf4
|
@ -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 "
|
||||||
|
|
Loading…
Reference in a new issue