diff --git a/projects/mtg/bin/Res/graphics/DeckEditorMenuBackdrop.png b/projects/mtg/bin/Res/graphics/DeckEditorMenuBackdrop.png index 576a3c461..62a9d18c9 100644 Binary files a/projects/mtg/bin/Res/graphics/DeckEditorMenuBackdrop.png and b/projects/mtg/bin/Res/graphics/DeckEditorMenuBackdrop.png differ diff --git a/projects/mtg/bin/Res/graphics/DeckMenuBackdrop.png b/projects/mtg/bin/Res/graphics/DeckMenuBackdrop.png index 57d198970..265fe84e9 100644 Binary files a/projects/mtg/bin/Res/graphics/DeckMenuBackdrop.png and b/projects/mtg/bin/Res/graphics/DeckMenuBackdrop.png differ diff --git a/projects/mtg/src/DeckMenu.cpp b/projects/mtg/src/DeckMenu.cpp index c62fc8735..9439046b1 100644 --- a/projects/mtg/src/DeckMenu.cpp +++ b/projects/mtg/src/DeckMenu.cpp @@ -139,9 +139,14 @@ void DeckMenu::RenderBackground() static bool loadBackground = true; if (loadBackground) { + //Erwan 2010/07/11 the TEXTURE_SUB_5551 below is useless, JGE doesn't support it for png. I'm letting it here to avoid causing a bug, but it should be removed JQuadPtr background = WResourceManager::Instance()->RetrieveTempQuad(bgFilename.str(), TEXTURE_SUB_5551); if (background.get()) - JRenderer::GetInstance()->RenderQuad(background.get(), 0, 0); + { + float scaleX = SCREEN_WIDTH_F / background.get()->mWidth; + float scaleY = SCREEN_HEIGHT_F / background.get()->mHeight; + JRenderer::GetInstance()->RenderQuad(background.get(), 0, 0,0,scaleX, scaleY); + } else loadBackground = false; }