Skip to content

Commit

Permalink
Merge pull request #10428 from jbeich/bsd
Browse files Browse the repository at this point in the history
SDL fails to build without Vulkan
  • Loading branch information
hrydgard committed Dec 21, 2017
2 parents 4d1c8ae + d4984ab commit 9679964
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SDL/SDLMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,17 @@ SDLJoystick *joystick = NULL;
#include "Common/Vulkan/VulkanDebug.h"
#include "math.h"

#if !defined(__APPLE__)
#include "SDL_syswm.h"
#endif

#if defined(VK_USE_PLATFORM_XLIB_KHR)
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "SDL_syswm.h"
#elif defined(VK_USE_PLATFORM_XCB_KHR)
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xlib-xcb.h>
#include "SDL_syswm.h"
#endif

#if defined(USING_EGL)
Expand Down

0 comments on commit 9679964

Please sign in to comment.