From 61b2a8afaf012e28ef14ad946ee0bb8319232aa6 Mon Sep 17 00:00:00 2001 From: MooglyGuy Date: Sun, 13 Oct 2019 20:55:11 +0200 Subject: -bgfx: Do texture format conversion via a full-screen GPU pass. [Ryan Holtz] --- src/osd/modules/render/bgfx/effect.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/osd/modules/render/bgfx/effect.cpp') diff --git a/src/osd/modules/render/bgfx/effect.cpp b/src/osd/modules/render/bgfx/effect.cpp index da5207f114b..9359faeb494 100644 --- a/src/osd/modules/render/bgfx/effect.cpp +++ b/src/osd/modules/render/bgfx/effect.cpp @@ -52,11 +52,5 @@ void bgfx_effect::submit(int view, uint64_t blend) bgfx_uniform* bgfx_effect::uniform(std::string name) { std::map::iterator iter = m_uniforms.find(name); - - if (iter != m_uniforms.end()) - { - return iter->second; - } - - return nullptr; + return iter != m_uniforms.end() ? iter->second : nullptr; } -- cgit v1.2.3-70-g09d2