forked from jaildesigner-jailgames/jaildoctors_dilemma
i per fi ja comença a tornar tot a la normalitat
This commit is contained in:
@@ -423,7 +423,7 @@ void Ending2::createSpriteTexts()
|
||||
const int Y = sprites_.at(i)->getPosY() + sprites_.at(i)->getHeight() + DIST_SPRITE_TEXT_;
|
||||
|
||||
// Crea la surface
|
||||
auto surface = std::make_shared<Surface>(Screen::get()->getRendererSurface(), W, H);
|
||||
auto surface = std::make_shared<Surface>(W, H);
|
||||
Screen::get()->setRendererSurface(surface);
|
||||
text->write(0, 0, txt);
|
||||
|
||||
@@ -455,7 +455,7 @@ void Ending2::createTexts()
|
||||
const int y = options.game.height + (text->getCharacterSize() * (i * 2));
|
||||
|
||||
// Crea la surface
|
||||
auto surface = std::make_shared<Surface>(Screen::get()->getRendererSurface(), w, h);
|
||||
auto surface = std::make_shared<Surface>(w, h);
|
||||
Screen::get()->setRendererSurface(surface);
|
||||
text->write(0, 0, list[i]);
|
||||
|
||||
@@ -484,7 +484,7 @@ void Ending2::createTexts()
|
||||
const int y = START + (text->getCharacterSize() * (i * 2));
|
||||
|
||||
// Crea la surface
|
||||
auto surface = std::make_shared<Surface>(Screen::get()->getRendererSurface(), w, h);
|
||||
auto surface = std::make_shared<Surface>(w, h);
|
||||
Screen::get()->setRendererSurface(surface);
|
||||
text->write(0, 0, list[i]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user