From c8603204ac928fe1077768dd5611e0cd3e506f32 Mon Sep 17 00:00:00 2001 From: valfieri Date: Sat, 31 Aug 2019 11:23:56 +0200 Subject: [PATCH] Removed one comment on old IFDEF PSP --- projects/mtg/src/GameStateDuel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/mtg/src/GameStateDuel.cpp b/projects/mtg/src/GameStateDuel.cpp index c68f440d4..7eb96cf09 100644 --- a/projects/mtg/src/GameStateDuel.cpp +++ b/projects/mtg/src/GameStateDuel.cpp @@ -1040,14 +1040,14 @@ void GameStateDuel::Render() WFont * mFont = WResourceManager::Instance()->GetWFont(Fonts::MAIN_FONT); JRenderer * r = JRenderer::GetInstance(); r->ClearScreen(ARGB(0,0,0,0)); -//#if !defined (PSP) + JTexture * wpTex = WResourceManager::Instance()->RetrieveTexture("bgdeckeditor.jpg"); if (wpTex) { 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); } -//#endif + //render the game until someone did win the game (otherwise it crashes sometimes under linux) if (game && !game->didWin()) game->Render();