VideoCommon: Only initialize Bounding Box if supported by GPU/driver.
This commit is contained in:
parent
db43f905e8
commit
ac670d99e2
|
@ -369,7 +369,8 @@ bool VideoBackendBase::InitializeShared(std::unique_ptr<AbstractGfx> gfx,
|
||||||
if (!g_vertex_manager->Initialize() || !g_shader_cache->Initialize() ||
|
if (!g_vertex_manager->Initialize() || !g_shader_cache->Initialize() ||
|
||||||
!g_perf_query->Initialize() || !g_presenter->Initialize() ||
|
!g_perf_query->Initialize() || !g_presenter->Initialize() ||
|
||||||
!g_framebuffer_manager->Initialize() || !g_texture_cache->Initialize() ||
|
!g_framebuffer_manager->Initialize() || !g_texture_cache->Initialize() ||
|
||||||
!g_bounding_box->Initialize() || !g_graphics_mod_manager->Initialize())
|
(g_ActiveConfig.backend_info.bSupportsBBox && !g_bounding_box->Initialize()) ||
|
||||||
|
!g_graphics_mod_manager->Initialize())
|
||||||
{
|
{
|
||||||
PanicAlertFmtT("Failed to initialize renderer classes");
|
PanicAlertFmtT("Failed to initialize renderer classes");
|
||||||
Shutdown();
|
Shutdown();
|
||||||
|
|
Loading…
Reference in New Issue