(build fix in debugfast mode)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4872 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2010-01-17 22:23:05 +00:00
parent 53408a695f
commit 994372c725
1 changed files with 2 additions and 7 deletions

View File

@ -259,9 +259,7 @@ bool VertexShaderCache::InsertByteCode(const VERTEXSHADERUID &uid, const u8 *byt
VSCacheEntry entry;
entry.shader = shader;
entry.frameCount = frameCount;
#if defined(_DEBUG) || defined(DEBUGFAST)
entry.code = code;
#endif
vshaders[uid] = entry;
last_entry = &vshaders[uid];
if (!shader)
@ -280,9 +278,6 @@ bool VertexShaderCache::InsertByteCode(const VERTEXSHADERUID &uid, const u8 *byt
#if defined(_DEBUG) || defined(DEBUGFAST)
std::string VertexShaderCache::GetCurrentShaderCode()
{
if (last_entry)
return last_entry->code;
else
return "(no shader)\n";
return "(N/A)\n";
}
#endif