games/dino: let the kernel fill the work area
Test PR / Build (ru_RU) (pull_request) Successful in 2m10s
Test PR / Build (en_US) (pull_request) Successful in 2m14s
Test PR / Build (es_ES) (pull_request) Successful in 2m17s

Style bit C was set, which means "do not fill the working area on
window draw". That went unnoticed while the buffer covered the whole
window, but since it ends at the ground line the strip below it was
never painted. Clear the bit, as flpybird does.
This commit is contained in:
2026-08-14 13:31:15 +00:00
parent a23e28f738
commit d33bb8caf6
+1 -1
View File
@@ -59,7 +59,7 @@ int main(int argc, char* args[]) {
win_pos.x, win_pos.y,
DEFAULT_WIDTH + 2*WINDOW_BORDER,
DEFAULT_HEIGHT + _ksys_get_skin_height() + WINDOW_BORDER,
WINDOW_TITLE, BACKGROUND_COLOR, 0x74);
WINDOW_TITLE, BACKGROUND_COLOR, 0x34);
graphicsRender();
_ksys_end_draw();
break;