Trabajando en el marcador

This commit is contained in:
2022-08-31 18:10:34 +02:00
parent c57fbf7bc3
commit f1047a8b07
3 changed files with 11 additions and 13 deletions

View File

@@ -407,6 +407,7 @@ color_t Room::getBGColor()
void Room::fillMapTexture()
{
SDL_SetRenderTarget(renderer, mapTexture);
SDL_SetTextureBlendMode(mapTexture, SDL_BLENDMODE_BLEND);
SDL_SetRenderDrawColor(renderer, 0x00, 0x00, 0x00, 0x00);
SDL_RenderClear(renderer);