diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-12-05 10:58:03 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-12-05 11:48:42 -0500 |
| commit | 9bd533ebe4cee1dfef9725f32fe0b9ca42f5680d (patch) | |
| tree | 4f7b7b1da059b8299e459e76ebbcf930e58c9df0 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 15fc71cfcf5f94221443aaff99ae559fa3cb4633 (diff) | |
VideoCommon/BoundingBox: Make interface for querying bounding box data
Rather than expose the bounding box members directly, we can instead
provide an interface for code to use. This makes it nicer to transition
from global data, as the interface function names are already in
place.
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index f1150dc340..ddbdd7e0f3 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -247,7 +247,7 @@ 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 (::BoundingBox::active && g_ActiveConfig.bBBoxEnable && + if (BoundingBox::IsEnabled() && g_ActiveConfig.bBBoxEnable && g_ActiveConfig.backend_info.bSupportsBBox) { g_renderer->BBoxFlush(); |
