games/dino: let the kernel fill the work area
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user