mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Add file forgot to update
This commit is contained in:
parent
cc375f1082
commit
746a902e2e
1 changed files with 2 additions and 2 deletions
|
@ -177,13 +177,13 @@ static void LScreen_DrawBackground(struct LScreen* s, struct Bitmap* bmp) {
|
|||
int x;
|
||||
|
||||
if (!s->title_fore) {
|
||||
LBackend_ResetArea(0, 0, WindowInfo.Width, WindowInfo.Height);
|
||||
Launcher_DrawBackground(bmp, 0, 0, bmp->width, bmp->height);
|
||||
return;
|
||||
}
|
||||
title_fore = String_FromReadonly(s->title_fore);
|
||||
title_back = String_FromReadonly(s->title_back);
|
||||
|
||||
LBackend_ResetPixels();
|
||||
Launcher_DrawBackgroundAll(bmp);
|
||||
DrawTextArgs_Make(&args, &title_fore, &Launcher_LogoFont, false);
|
||||
x = WindowInfo.Width / 2 - Drawer2D_TextWidth(&args) / 2;
|
||||
|
||||
|
|
Loading…
Reference in a new issue