From 1161af80594c403233e3d21589af004ee2d75594 Mon Sep 17 00:00:00 2001 From: Techjar Date: Wed, 9 Jun 2021 07:42:21 -0400 Subject: VideoCommon: Abstract bounding box This moves much of the duplicated bounding box code into VideoCommon, leaving only the specific buffer implementations in each backend. --- Source/Core/VideoBackends/OGL/OGLMain.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Source/Core/VideoBackends/OGL/OGLMain.cpp') diff --git a/Source/Core/VideoBackends/OGL/OGLMain.cpp b/Source/Core/VideoBackends/OGL/OGLMain.cpp index 8aaf2cac72..3ca79d5c85 100644 --- a/Source/Core/VideoBackends/OGL/OGLMain.cpp +++ b/Source/Core/VideoBackends/OGL/OGLMain.cpp @@ -44,7 +44,6 @@ Make AA apply instantly during gameplay if possible #include "Core/Config/GraphicsSettings.h" -#include "VideoBackends/OGL/OGLBoundingBox.h" #include "VideoBackends/OGL/OGLPerfQuery.h" #include "VideoBackends/OGL/OGLRender.h" #include "VideoBackends/OGL/OGLVertexManager.h" @@ -186,7 +185,6 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi) g_perf_query = GetPerfQuery(); g_texture_cache = std::make_unique(); g_sampler_cache = std::make_unique(); - BoundingBox::Init(); if (!g_vertex_manager->Initialize() || !g_shader_cache->Initialize() || !g_renderer->Initialize() || !g_framebuffer_manager->Initialize() || @@ -205,7 +203,6 @@ void VideoBackend::Shutdown() { g_shader_cache->Shutdown(); g_renderer->Shutdown(); - BoundingBox::Shutdown(); g_sampler_cache.reset(); g_texture_cache.reset(); g_perf_query.reset(); -- cgit v1.2.3