mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-16 09:12:05 +00:00
- implement a menu for Vulkan. todo: Implement a way to select a Vulkan renderer directly, also todo: Hide Vulkan menu if the system doesn't support it.
This commit is contained in:
parent
3c594c6c93
commit
4fae7ad4a9
1 changed files with 18 additions and 0 deletions
|
@ -861,6 +861,7 @@ OptionMenu "VideoOptions" protected
|
||||||
|
|
||||||
Submenu "$DSPLYMNU_GLOPT", "OpenGLOptions"
|
Submenu "$DSPLYMNU_GLOPT", "OpenGLOptions"
|
||||||
Submenu "$DSPLYMNU_SWOPT", "SWROptions"
|
Submenu "$DSPLYMNU_SWOPT", "SWROptions"
|
||||||
|
Submenu "$DSPLYMNU_VKOPT", "VKOptions"
|
||||||
Submenu "$GLMNU_DYNLIGHT", "GLLightOptions"
|
Submenu "$GLMNU_DYNLIGHT", "GLLightOptions"
|
||||||
Submenu "$DSPLYMNU_SCOREBOARD", "ScoreboardOptions"
|
Submenu "$DSPLYMNU_SCOREBOARD", "ScoreboardOptions"
|
||||||
StaticText " "
|
StaticText " "
|
||||||
|
@ -2657,3 +2658,20 @@ OptionValue "os_isanyof_values"
|
||||||
0, "$OS_ALL"
|
0, "$OS_ALL"
|
||||||
1, "$OS_ANY"
|
1, "$OS_ANY"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*=======================================
|
||||||
|
*
|
||||||
|
* Vulkan Menu
|
||||||
|
*
|
||||||
|
*=======================================*/
|
||||||
|
|
||||||
|
OptionMenu "vkoptions"
|
||||||
|
{
|
||||||
|
Title "$VK_TITLE"
|
||||||
|
StaticText "$VK_WARNING"
|
||||||
|
StaticText "$VK_RESTART"
|
||||||
|
StaticText ""
|
||||||
|
Option "$VKMNU_ENABLE", "vid_backend", "OffOn"
|
||||||
|
TextField "$VKMNU_DEVICE", vk_device
|
||||||
|
Option "$VKMNU_HDR", "vk_hdr", "OnOff"
|
||||||
|
}
|
Loading…
Reference in a new issue