Removed one comment on old IFDEF PSP
This commit is contained in:
@@ -1040,14 +1040,14 @@ void GameStateDuel::Render()
|
|||||||
WFont * mFont = WResourceManager::Instance()->GetWFont(Fonts::MAIN_FONT);
|
WFont * mFont = WResourceManager::Instance()->GetWFont(Fonts::MAIN_FONT);
|
||||||
JRenderer * r = JRenderer::GetInstance();
|
JRenderer * r = JRenderer::GetInstance();
|
||||||
r->ClearScreen(ARGB(0,0,0,0));
|
r->ClearScreen(ARGB(0,0,0,0));
|
||||||
//#if !defined (PSP)
|
|
||||||
JTexture * wpTex = WResourceManager::Instance()->RetrieveTexture("bgdeckeditor.jpg");
|
JTexture * wpTex = WResourceManager::Instance()->RetrieveTexture("bgdeckeditor.jpg");
|
||||||
if (wpTex)
|
if (wpTex)
|
||||||
{
|
{
|
||||||
JQuadPtr wpQuad = WResourceManager::Instance()->RetrieveTempQuad("bgdeckeditor.jpg");
|
JQuadPtr wpQuad = WResourceManager::Instance()->RetrieveTempQuad("bgdeckeditor.jpg");
|
||||||
JRenderer::GetInstance()->RenderQuad(wpQuad.get(), 0, 0, 0, SCREEN_WIDTH_F / wpQuad->mWidth, SCREEN_HEIGHT_F / wpQuad->mHeight);
|
JRenderer::GetInstance()->RenderQuad(wpQuad.get(), 0, 0, 0, SCREEN_WIDTH_F / wpQuad->mWidth, SCREEN_HEIGHT_F / wpQuad->mHeight);
|
||||||
}
|
}
|
||||||
//#endif
|
|
||||||
//render the game until someone did win the game (otherwise it crashes sometimes under linux)
|
//render the game until someone did win the game (otherwise it crashes sometimes under linux)
|
||||||
if (game && !game->didWin())
|
if (game && !game->didWin())
|
||||||
game->Render();
|
game->Render();
|
||||||
|
|||||||
Reference in New Issue
Block a user