Compare commits

..

No commits in common. "master" and "0.6.2_7" have entirely different histories.

2 changed files with 12 additions and 15 deletions

View file

@ -1,5 +1,5 @@
# #
# Copyright (c) 2019-2023, yzrh <yzrh@noema.org> # Copyright (c) 2019-2022, yzrh <yzrh@noema.org>
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
@ -18,7 +18,7 @@ obj = ${src:.c=.o}
PREFIX = /usr/local PREFIX = /usr/local
CFLAGS = -O2 -pipe -flto -Wall -Wextra -Wno-unused-parameter CFLAGS = -O2 -pipe -flto -Wall -Wextra -Wno-unused-result -Wno-unused-parameter
LDFLAGS = -Wl,-O2 -lpthread -lSDL2 -lSDL2_ttf LDFLAGS = -Wl,-O2 -lpthread -lSDL2 -lSDL2_ttf
.ifdef SOUND .ifdef SOUND

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023, yzrh <yzrh@noema.org> * Copyright (c) 2019-2022, yzrh <yzrh@noema.org>
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
@ -108,22 +108,19 @@ static void*
handler_rendering(void *args) handler_rendering(void *args)
{ {
const SDL_Color fg = { const SDL_Color fg = {
.r = COLOUR_FOREGROUND_R, COLOUR_FOREGROUND_R,
.g = COLOUR_FOREGROUND_G, COLOUR_FOREGROUND_G,
.b = COLOUR_FOREGROUND_B, COLOUR_FOREGROUND_B
.a = 255
}; };
const SDL_Color bg = { const SDL_Color bg = {
.r = COLOUR_BACKGROUND_R, COLOUR_BACKGROUND_R,
.g = COLOUR_BACKGROUND_G, COLOUR_BACKGROUND_G,
.b = COLOUR_BACKGROUND_B, COLOUR_BACKGROUND_B
.a = 255
}; };
const SDL_Color bg_s = { const SDL_Color bg_s = {
.r = COLOUR_BACKGROUND_SHADE_R, COLOUR_BACKGROUND_SHADE_R,
.g = COLOUR_BACKGROUND_SHADE_G, COLOUR_BACKGROUND_SHADE_G,
.b = COLOUR_BACKGROUND_SHADE_B, COLOUR_BACKGROUND_SHADE_B
.a = 255
}; };
char result_str[23]; char result_str[23];