Add in UBOs, doesn't work yet. Still debugging here.

This commit is contained in:
Ryan Houdek
2011-12-09 17:30:05 -06:00
committed by Sonicadvance1
parent 5f0f26ef35
commit 4a84c6f742
12 changed files with 138 additions and 49 deletions

View File

@ -83,6 +83,7 @@ Make AA apply instantly during gameplay if possible
#include "PixelShaderManager.h"
#include "VertexShaderCache.h"
#include "VertexShaderManager.h"
#include "ProgramShaderCache.h"
#include "CommandProcessor.h"
#include "PixelEngine.h"
#include "TextureConverter.h"
@ -200,6 +201,7 @@ void VideoBackend::Video_Prepare()
VertexShaderManager::Init();
PixelShaderCache::Init();
PixelShaderManager::Init();
ProgramShaderCache::Init();
PostProcessing::Init();
GL_REPORT_ERRORD();
VertexLoaderManager::Init();
@ -227,6 +229,7 @@ void VideoBackend::Shutdown()
// And need to be called from the video thread
TextureConverter::Shutdown();
VertexLoaderManager::Shutdown();
ProgramShaderCache::Shutdown();
VertexShaderCache::Shutdown();
VertexShaderManager::Shutdown();
PixelShaderManager::Shutdown();