mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-27 21:54:02 +00:00
style: auto-format C/C++ sources with clang-format
This commit is contained in:
committed by
github-actions[bot]
parent
73728ebd91
commit
cc6faf787a
@@ -18,4 +18,3 @@
|
||||
#define sscanf dg_sscanf
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -137,8 +137,12 @@ void DG_Init(void) {
|
||||
g_scale = 4ULL;
|
||||
}
|
||||
|
||||
g_dst_x = (g_fb_info.width > ((u64)DOOMGENERIC_RESX * g_scale)) ? ((g_fb_info.width - ((u64)DOOMGENERIC_RESX * g_scale)) / 2ULL) : 0ULL;
|
||||
g_dst_y = (g_fb_info.height > ((u64)DOOMGENERIC_RESY * g_scale)) ? ((g_fb_info.height - ((u64)DOOMGENERIC_RESY * g_scale)) / 2ULL) : 0ULL;
|
||||
g_dst_x = (g_fb_info.width > ((u64)DOOMGENERIC_RESX * g_scale))
|
||||
? ((g_fb_info.width - ((u64)DOOMGENERIC_RESX * g_scale)) / 2ULL)
|
||||
: 0ULL;
|
||||
g_dst_y = (g_fb_info.height > ((u64)DOOMGENERIC_RESY * g_scale))
|
||||
? ((g_fb_info.height - ((u64)DOOMGENERIC_RESY * g_scale)) / 2ULL)
|
||||
: 0ULL;
|
||||
|
||||
g_blit_req.pixels_ptr = 0ULL;
|
||||
g_blit_req.src_width = (u64)DOOMGENERIC_RESX;
|
||||
@@ -194,4 +198,3 @@ int cl_doom_run_main(int argc, char **argv) {
|
||||
doomgeneric_Tick();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user