fix: no pintava el efecte de carrega del borde en LoadingScreen
This commit is contained in:
@@ -165,8 +165,8 @@ void LoadingScreen::renderBorder()
|
||||
// Añade lineas amarillas
|
||||
color = stringToColor(options.video.palette, "yellow");
|
||||
SDL_SetRenderDrawColor(renderer_, color.r, color.g, color.b, 0xFF);
|
||||
const int width = GAMECANVAS_WIDTH + (options.video.border.width * 2);
|
||||
const int height = GAMECANVAS_HEIGHT + (options.video.border.height * 2);
|
||||
const int width = options.game.width + (options.video.border.width * 2);
|
||||
const int height = options.game.height + (options.video.border.height * 2);
|
||||
bool drawEnabled = rand() % 2 == 0 ? true : false;
|
||||
int row = 0;
|
||||
int rowSize = 1;
|
||||
|
||||
Reference in New Issue
Block a user