Commit de vesprà tirada a la brossa
This commit is contained in:
@@ -60,7 +60,7 @@ void Tiledbg::fillTexture()
|
||||
{
|
||||
// Crea los objetos para pintar en la textura de fondo
|
||||
auto bg_tile_texture = std::make_shared<Texture>(renderer_, texture_path_);
|
||||
auto tile = std::make_unique<Sprite>((SDL_Rect){0, 0, tile_width_, tile_height_}, bg_tile_texture);
|
||||
auto tile = std::make_unique<Sprite>(bg_tile_texture, (SDL_Rect){0, 0, tile_width_, tile_height_});
|
||||
|
||||
// Prepara para dibujar sobre la textura
|
||||
auto temp = SDL_GetRenderTarget(renderer_);
|
||||
|
||||
Reference in New Issue
Block a user