mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
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
Block a user