Merge branch 'GLSL-master' of https://code.google.com/p/dolphin-emu into GLSL-master
This commit is contained in:
commit
2cb53854f7
|
@ -219,7 +219,10 @@ void ProgramShaderCache::Shutdown(void)
|
|||
{
|
||||
PCache::iterator iter = pshaders.begin();
|
||||
for (; iter != pshaders.end(); ++iter)
|
||||
{
|
||||
g_program_disk_cache.Append(iter->second.uid, iter->second.GetProgram(), iter->second.Size());
|
||||
iter->second.FreeProgram();
|
||||
}
|
||||
|
||||
g_program_disk_cache.Sync();
|
||||
g_program_disk_cache.Close();
|
||||
|
|
|
@ -100,6 +100,7 @@ public:
|
|||
void FreeProgram()
|
||||
{
|
||||
delete [] binary;
|
||||
binary = NULL;
|
||||
}
|
||||
|
||||
GLint Size()
|
||||
|
|
Loading…
Reference in New Issue