diff options
| author | Techjar <tecknojar@gmail.com> | 2021-06-09 07:42:21 -0400 |
|---|---|---|
| committer | Techjar <tecknojar@gmail.com> | 2021-10-04 15:51:24 -0400 |
| commit | 1161af80594c403233e3d21589af004ee2d75594 (patch) | |
| tree | c20fdec2f9b8777eb62de221a4c89c7f9224d31c /Source/Core/VideoBackends/OGL/OGLMain.cpp | |
| parent | 7ec02ee4d37cef6a73ac7a678901904ca6855728 (diff) | |
VideoCommon: Abstract bounding box
This moves much of the duplicated bounding box code into VideoCommon,
leaving only the specific buffer implementations in each backend.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/OGLMain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/OGLMain.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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<TextureCacheBase>(); g_sampler_cache = std::make_unique<SamplerCache>(); - 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(); |
