fix: si deixaves el nom en blanc, t'asigna uno de un pool pero despres no arribava a la tabla
style: quan confirmes el nom, apareix centrat
This commit is contained in:
@@ -362,15 +362,6 @@ void Intro::initSprites()
|
||||
SDL_RenderRect(Screen::get()->getRenderer(), &rect1);
|
||||
SDL_RenderRect(Screen::get()->getRenderer(), &rect2);
|
||||
|
||||
// Copia la textura con el dibujo sobre la textura de color aplicando blend modes
|
||||
// SDL_FRect rect = {BORDER / 2, BORDER / 2, SPRITE_WIDTH, SPRITE_HEIGHT};
|
||||
// auto inner_texture = Resource::get()->getTexture(TEXTURE_LIST.at(i))->getSDLTexture();
|
||||
// SDL_SetTextureBlendMode(inner_texture, SDL_BLENDMODE_BLEND);
|
||||
// SDL_SetTextureAlphaMod(inner_texture, 64);
|
||||
// SDL_RenderTexture(Screen::get()->getRenderer(), inner_texture, nullptr, &rect);
|
||||
// SDL_SetTextureBlendMode(inner_texture, SDL_BLENDMODE_NONE);
|
||||
// SDL_SetTextureAlphaMod(inner_texture, 255);
|
||||
|
||||
// Deja el renderizador como estaba y añade la textura a la lista
|
||||
SDL_SetRenderTarget(Screen::get()->getRenderer(), temp);
|
||||
shadow_textures.push_back(shadow_texture);
|
||||
|
||||
Reference in New Issue
Block a user