Start preparing to split this code up
This commit is contained in:
parent
9a10ef5591
commit
7a907a97a7
|
@ -129,9 +129,7 @@ enum vulkan_wsi_type
|
|||
|
||||
#define VKFUNC(sym) (vkcfp->sym)
|
||||
|
||||
typedef struct vulkan_context
|
||||
{
|
||||
struct vulkan_context_fp
|
||||
typedef struct vulkan_context_fp
|
||||
{
|
||||
/* Instance */
|
||||
PFN_vkCreateInstance vkCreateInstance;
|
||||
|
@ -310,7 +308,11 @@ typedef struct vulkan_context
|
|||
#ifdef HAVE_MIR
|
||||
PFN_vkCreateMirSurfaceKHR vkCreateMirSurfaceKHR;
|
||||
#endif
|
||||
} fp;
|
||||
} vulkan_context_fp_t;
|
||||
|
||||
typedef struct vulkan_context
|
||||
{
|
||||
vulkan_context_fp_t fp;
|
||||
|
||||
VkInstance instance;
|
||||
VkPhysicalDevice gpu;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <stddef.h>
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
#include "libretro-common/include/boolean.h"
|
||||
#include <boolean.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in New Issue