vulkan: use new system
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoIxD 2026-04-19 17:53:10 -07:00
commit ccdad14846
3 changed files with 54 additions and 51 deletions

View file

@ -51,8 +51,9 @@
#define MwNforeground "Sforeground"
#define MwNsubForeground "SsubForeground"
#define MwNvulkanExtension "SEvulkanExtension"
#define MwNvulkanLayer "SEvulkanLayer"
#define MwNvulkanExtension "SEvulkanExtension" /* char* */
#define MwNvulkanLayer "SEvulkanLayer" /* char* */
#define MwNvulkanConfig "VEvulkanConfig" /* MwVulkanConfig */
#define MwNpixmap "Vpixmap"
#define MwNiconPixmap "ViconPixmap"

View file

@ -34,7 +34,7 @@ extern "C" {
MWDECL MwClass MwVulkanClass;
/*!
* @brief Configuration options that can be passed to setup Vulkan before a widget is created.
* @brief Configuration options that can be passed to setup parts of the Vulkan widget.
*/
typedef struct _MwVulkanConfig {
/*!
@ -51,13 +51,6 @@ typedef struct _MwVulkanConfig {
int validation_layers;
} MwVulkanConfig;
/*!
* @brief Configure Vulkan prior to initializing the widget.
* @warning This must be called before MwCreateWidget.
* @warning The configuration provided will be used for future initializations of the Vulkan widget (unless it's changed)
*/
MWDECL void MwVulkanConfigure(MwVulkanConfig* cfg);
/*!
* @brief Field that can be gotten from Vulkan.
*/