* Remove a crash
* This removes images for PSP buttons for the moment
This commit is contained in:
jean.chalard
2010-02-19 22:43:55 +00:00
parent bb82dc38f2
commit de94069829
2 changed files with 20 additions and 22 deletions

View File

@@ -447,12 +447,12 @@ void OptionKey::Render() {
{
const KeyRep& rep = translateKey(from);
if (rep.icon)
renderer->RenderQuad(rep.icon, x + 4, y + 2);
renderer->RenderQuad(rep.icon, x + 4, y + 2, 0, 0.5, 0.5);
else
mFont->DrawString(rep.text, x + 4, y + 2, JGETEXT_LEFT);
const KeyRep& rep2 = translateKey(to);
if (rep2.icon)
renderer->RenderQuad(rep2.icon, x + 4, y + 2);
renderer->RenderQuad(rep2.icon, x + 4, y + 2, 0, 0.5, 0.5);
else
mFont->DrawString(rep2.text, width - 4, y + 2, JGETEXT_RIGHT);
}