mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Set SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH.
Some checks failed
Build and test / MacOS (push) Has been cancelled
Build and test / Read .env file and expose it as output (push) Has been cancelled
Build and test / Ubuntu (push) Has been cancelled
Build and test / Windows (2019) (push) Has been cancelled
Build and test / Windows (2022) (push) Has been cancelled
Some checks failed
Build and test / MacOS (push) Has been cancelled
Build and test / Read .env file and expose it as output (push) Has been cancelled
Build and test / Ubuntu (push) Has been cancelled
Build and test / Windows (2019) (push) Has been cancelled
Build and test / Windows (2022) (push) Has been cancelled
This fixes bugs #8225 and #8462.
This commit is contained in:
parent
ca3a286cc4
commit
1948ab21f7
2 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,7 @@
|
||||||
Bug #8378: Korean bitmap fonts are unusable
|
Bug #8378: Korean bitmap fonts are unusable
|
||||||
Bug #8439: Creatures without models can crash the game
|
Bug #8439: Creatures without models can crash the game
|
||||||
Bug #8441: Freeze when using video main menu replacers
|
Bug #8441: Freeze when using video main menu replacers
|
||||||
|
Bug #8462: Crashes when resizing the window on macOS
|
||||||
Feature #1415: Infinite fall failsafe
|
Feature #1415: Infinite fall failsafe
|
||||||
Feature #2566: Handle NAM9 records for manual cell references
|
Feature #2566: Handle NAM9 records for manual cell references
|
||||||
Feature #3501: OpenMW-CS: Instance Editing - Shortcuts for axial locking
|
Feature #3501: OpenMW-CS: Instance Editing - Shortcuts for axial locking
|
||||||
|
|
|
@ -379,6 +379,9 @@ OMW::Engine::Engine(Files::ConfigurationManager& configurationManager)
|
||||||
, mCfgMgr(configurationManager)
|
, mCfgMgr(configurationManager)
|
||||||
, mGlMaxTextureImageUnits(0)
|
, mGlMaxTextureImageUnits(0)
|
||||||
{
|
{
|
||||||
|
#if SDL_VERSION_ATLEAST(2, 24, 0)
|
||||||
|
SDL_SetHint(SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH, "1");
|
||||||
|
#endif
|
||||||
SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0"); // We use only gamepads
|
SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0"); // We use only gamepads
|
||||||
|
|
||||||
Uint32 flags
|
Uint32 flags
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue