- restrict Vulkan to 64 bit builds.
This commit is contained in:
parent
d3c02c75ba
commit
a0b0467e91
5 changed files with 59 additions and 11 deletions
|
|
@ -44,7 +44,9 @@
|
|||
#include "m_argv.h"
|
||||
#include "version.h"
|
||||
#include "win32glvideo.h"
|
||||
#ifdef HAVE_VULKAN
|
||||
#include "win32vulkanvideo.h"
|
||||
#endif
|
||||
#include "doomerrors.h"
|
||||
#include "i_system.h"
|
||||
#include "swrenderer/r_swrenderer.h"
|
||||
|
|
@ -128,6 +130,7 @@ void I_InitGraphics ()
|
|||
// are the active app. Huh?
|
||||
}
|
||||
|
||||
#ifdef HAVE_VULKAN
|
||||
if (vid_backend == 0)
|
||||
{
|
||||
// first try Vulkan, if that fails OpenGL
|
||||
|
|
@ -141,6 +144,7 @@ void I_InitGraphics ()
|
|||
}
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
Video = new Win32GLVideo();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue