Exemple #1
0
bool CWinRenderBufferPool::IsCompatible(const CRenderVideoSettings &renderSettings) const
{
  if (!CRPWinRenderer::SupportsScalingMethod(renderSettings.GetScalingMethod()))
    return false;

  return true;
}
bool CRenderBufferPoolOpenGL::IsCompatible(const CRenderVideoSettings &renderSettings) const
{
  return CRPRendererOpenGL::SupportsScalingMethod(renderSettings.GetScalingMethod());
}
Exemple #3
0
bool CWinRenderBufferPool::IsCompatible(const CRenderVideoSettings &renderSettings) const
{
  return GetShader(renderSettings.GetScalingMethod()) != nullptr;
}