Permalink
Browse files

Merge pull request #10428 from jbeich/bsd

SDL fails to build without Vulkan
  • Loading branch information...
hrydgard committed Dec 21, 2017
2 parents 4d1c8ae + d4984ab commit 9679964b85cc4d0f59864e9e97f58ed610b54209
Showing with 4 additions and 2 deletions.
  1. +4 −2 SDL/SDLMain.cpp
View
@@ -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)

0 comments on commit 9679964

Please sign in to comment.