Jeck - It wasn't emptying the cache properly, so this is a step in the right direction. I'll keep looking for more issues, though.

This commit is contained in:
wagic.jeck
2009-09-03 18:21:57 +00:00
parent 3db0969c0e
commit 8340fdbd5b
4 changed files with 45 additions and 30 deletions

View File

@@ -105,6 +105,7 @@ JQuad * CardGui::alternateThumbQuad(MTGCard * card){
}
if(q && q->mTex)
q->SetHotSpot(q->mTex->mWidth/2,q->mTex->mHeight/2);
else q = q;
return q;
}
@@ -127,7 +128,7 @@ void CardGui::alternateRender(MTGCard * card, const Pos& pos){
float scale = pos.actZ * 250 / q->mHeight;
q->SetColor(ARGB((int)pos.actA,255,255,255));
renderer->RenderQuad(q, pos.actX, pos.actY, pos.actT, scale, scale);
}
}else q = q;
// Write the title
JLBFont * font = resources.GetJLBFont("magic");
float backup_scale = font->GetScale();