diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-01-30 03:40:15 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-01-31 19:41:24 +1300 |
| commit | 99d3e489ea33fefd61715289959e852f69973117 (patch) | |
| tree | 96a8e4744925f663dba624c0b5ee373e6c808e63 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 35a69cb1bbce567eeae8fb8eece0062a782e436d (diff) | |
Move BoundingBox out of RenderBase
They were essentially just pass-though methods
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index 5f6b8a310e..71e766c000 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -324,10 +324,10 @@ void VertexManagerBase::CommitBuffer(u32 num_vertices, u32 vertex_stride, u32 nu void VertexManagerBase::DrawCurrentBatch(u32 base_index, u32 num_indices, u32 base_vertex) { // If bounding box is enabled, we need to flush any changes first, then invalidate what we have. - if (g_renderer->IsBBoxEnabled() && g_ActiveConfig.bBBoxEnable && + if (g_bounding_box->IsEnabled() && g_ActiveConfig.bBBoxEnable && g_ActiveConfig.backend_info.bSupportsBBox) { - g_renderer->BBoxFlush(); + g_bounding_box->Flush(); } g_gfx->DrawIndexed(base_index, num_indices, base_vertex); |
