engine: client: validate vid_rotate cvar value and save current rotation to ref global

This commit is contained in:
Alibek Omarov
2025-10-19 06:27:10 +05:00
parent 684f7fb75e
commit b8f0a89846
2 changed files with 9 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ struct ref_state_s
// depends on build configuration
const char **short_names;
const char **long_names;
ref_screen_rotation_t rotation;
};
extern struct ref_state_s ref;