Fixed redefinition of typedef warnings and errors on BSD

Sam Lantinga 2017-08-28 00:51:14 -07:00
parent 50efbda736
commit 3c7f9d692a
2 changed files with 4 additions and 2 deletions

View File

@ -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)
{

View File

@ -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);