mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
fix an error message in d3d plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2618 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c6ffcec991
commit
bdb41dfe2f
3 changed files with 9 additions and 5 deletions
|
@ -100,8 +100,11 @@ void PixelShaderCache::SetShader()
|
|||
|
||||
INCSTAT(stats.numPixelShadersCreated);
|
||||
SETSTAT(stats.numPixelShadersAlive, (int)PixelShaders.size());
|
||||
} else if(g_Config.bShowShaderErrors)
|
||||
}
|
||||
else if (g_Config.bShowShaderErrors)
|
||||
{
|
||||
PanicAlert("Failed to compile Pixel Shader:\n\n%s", code);
|
||||
}
|
||||
}
|
||||
|
||||
LPDIRECT3DPIXELSHADER9 PixelShaderCache::CompileCgShader(const char *pstrprogram)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue