mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Use settings values for Video settings
* Convert window mode, vsync mode into enums, screenshot type into a struct. * Add missing doc for screenshot type.
This commit is contained in:
parent
8380da2e1d
commit
dcd81d026f
31 changed files with 346 additions and 221 deletions
14
components/sdlutil/vsyncmode.hpp
Normal file
14
components/sdlutil/vsyncmode.hpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#ifndef OPENMW_COMPONENTS_SDLUTIL_VSYNCMODE_H
|
||||
#define OPENMW_COMPONENTS_SDLUTIL_VSYNCMODE_H
|
||||
|
||||
namespace SDLUtil
|
||||
{
|
||||
enum VSyncMode
|
||||
{
|
||||
Disabled = 0,
|
||||
Enabled = 1,
|
||||
Adaptive = 2
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue