mirror of https://github.com/encounter/SDL.git
Fixed redefinition of typedef warnings and errors on BSD
This commit is contained in:
parent
50efbda736
commit
3c7f9d692a
|
@ -29,9 +29,11 @@
|
|||
#include "SDL_x11vulkan.h"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
//#include <xcb/xcb.h>
|
||||
/*#include <xcb/xcb.h>*/
|
||||
/*
|
||||
typedef uint32_t xcb_window_t;
|
||||
typedef uint32_t xcb_visualid_t;
|
||||
*/
|
||||
|
||||
int X11_Vulkan_LoadLibrary(_THIS, const char *path)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_X11
|
||||
|
||||
typedef struct xcb_connection_t xcb_connection_t;
|
||||
/*typedef struct xcb_connection_t xcb_connection_t;*/
|
||||
typedef xcb_connection_t *(*PFN_XGetXCBConnection)(Display *dpy);
|
||||
|
||||
int X11_Vulkan_LoadLibrary(_THIS, const char *path);
|
||||
|
|
Loading…
Reference in New Issue