OPENGL: Added missing USE_FORCED_GLES check

This commit is contained in:
Cameron Cawley 2022-10-06 20:08:52 +01:00 committed by Eugene Sandulenko
parent aa21e7226a
commit ebc79b24bb

View File

@ -116,8 +116,10 @@ bool OpenGLGraphicsManager::hasFeature(OSystem::Feature f) const {
#endif
return true;
#if !USE_FORCED_GLES
case OSystem::kFeatureShaders:
return LibRetroPipeline::isSupportedByContext();
#endif
case OSystem::kFeatureOverlaySupportsAlpha:
return _defaultFormatAlpha.aBits() > 3;