]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
vid: consolidate mode structures
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 15 Apr 2024 20:46:54 +0000 (06:46 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sun, 21 Apr 2024 13:59:20 +0000 (23:59 +1000)
commitc5790ebb593767e649ede7ec8c3f38aed3168db3
tree353aebabbc50fef1978511c4032d273143b97ea3
parent43ffddbbca73368e5d6fa66f357a77be35de6c28
vid: consolidate mode structures

This uses a viddef_mode_t `vid.mode` in the global viddef_t `vid`
instead of having a separate declaration of each var there, makes
copying it more efficient.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
14 files changed:
cap_avi.c
cl_input.c
cl_screen.c
cl_video.c
clvm_cmds.c
csprogs.c
ft2.c
gl_draw.c
gl_rmain.c
menu.c
mvm_cmds.c
vid.h
vid_sdl.c
vid_shared.c