Add virtual Initialize() to PerfQueryBase
Both DX12 and Vulkan already had one.
This commit is contained in:
1 parent
3c73707dfe
commit
8bc8e43dd6
5 files changed
+9
-18
No files matched your search
@@ -371,9 +371,9 @@ bool VideoBackendBase::InitializeShared(std::unique_ptr<AbstractGfx> gfx,
|
||||
TMEM::Init();
|
||||
|
||||
if (!g_vertex_manager->Initialize() || !g_shader_cache->Initialize() ||
|
||||
!g_renderer->Initialize() || !g_presenter->Initialize() ||
|
||||
!g_framebuffer_manager->Initialize() || !g_texture_cache->Initialize() ||
|
||||
!g_bounding_box->Initialize())
|
||||
!g_perf_query->Initialize() || !g_renderer->Initialize() ||
|
||||
!g_presenter->Initialize() || !g_framebuffer_manager->Initialize() ||
|
||||
!g_texture_cache->Initialize() || !g_bounding_box->Initialize())
|
||||
{
|
||||
PanicAlertFmtT("Failed to initialize renderer classes");
|
||||
Shutdown();
|
||||
|
||||
Reference in new issue
Block a user