diff options
| author | comex <comexk@gmail.com> | 2014-11-19 20:25:23 -0500 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-11-19 20:25:23 -0500 |
| commit | fb50cb6d99062069a71db49d56d975df5c6eecb3 (patch) | |
| tree | b0a9615bcaa4d5d4efa65e590ff3b0e500391f6b /Source/Core/VideoBackends/OGL/main.cpp | |
| parent | dd2c8c49b37360f8b8838ccdb323a84eae00e065 (diff) | |
| parent | c211450b997effa6d91059fb0aaa564892297719 (diff) | |
Merge pull request #1550 from degasus/bbox
OGL: implement bounding box support with ssbo
Diffstat (limited to 'Source/Core/VideoBackends/OGL/main.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/main.cpp b/Source/Core/VideoBackends/OGL/main.cpp index 810509b0a9..eb01d3355a 100644 --- a/Source/Core/VideoBackends/OGL/main.cpp +++ b/Source/Core/VideoBackends/OGL/main.cpp @@ -48,6 +48,7 @@ Make AA apply instantly during gameplay if possible #include "Core/Core.h" #include "Core/Host.h" +#include "VideoBackends/OGL/BoundingBox.h" #include "VideoBackends/OGL/FramebufferManager.h" #include "VideoBackends/OGL/GLInterfaceBase.h" #include "VideoBackends/OGL/GLUtil.h" @@ -205,6 +206,7 @@ void VideoBackend::Video_Prepare() Renderer::Init(); VertexLoaderManager::Init(); TextureConverter::Init(); + BoundingBox::Init(); // Notify the core that the video backend is ready Host_Message(WM_USER_CREATE); @@ -229,6 +231,7 @@ void VideoBackend::Video_Cleanup() // The following calls are NOT Thread Safe // And need to be called from the video thread Renderer::Shutdown(); + BoundingBox::Shutdown(); TextureConverter::Shutdown(); VertexLoaderManager::Shutdown(); delete g_sampler_cache; |
