- create a renderer backend based on softpoly's drawers
This commit is contained in:
parent
8a90946094
commit
0eda298db2
21 changed files with 1317 additions and 9 deletions
|
|
@ -44,6 +44,7 @@
|
|||
#include "m_argv.h"
|
||||
#include "version.h"
|
||||
#include "win32glvideo.h"
|
||||
#include "win32polyvideo.h"
|
||||
#ifdef HAVE_VULKAN
|
||||
#include "win32vulkanvideo.h"
|
||||
#endif
|
||||
|
|
@ -129,8 +130,12 @@ void I_InitGraphics ()
|
|||
// are the active app. Huh?
|
||||
}
|
||||
|
||||
if (vid_enablevulkan == 2)
|
||||
{
|
||||
Video = new Win32PolyVideo();
|
||||
}
|
||||
#ifdef HAVE_VULKAN
|
||||
if (vid_enablevulkan == 1)
|
||||
else if (vid_enablevulkan == 1)
|
||||
{
|
||||
// first try Vulkan, if that fails OpenGL
|
||||
try
|
||||
|
|
@ -143,8 +148,8 @@ void I_InitGraphics ()
|
|||
Video = new Win32GLVideo();
|
||||
}
|
||||
}
|
||||
else
|
||||
#endif
|
||||
else
|
||||
{
|
||||
Video = new Win32GLVideo();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue