mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Disable vulkan in Windows build when HAVE_VULKAN is off and other cmake build fixes. (#11118)
* Make WolfSSL build support multi-config generator. Fix a build error in Windows when using QT's moc. Disable vulkan in Windows build when HAVE_VULKAN is off. * add WIN32_LEAN_AND_MEAN definition to VS project. add HAVE_VULKAN definition to VS project. Define NTSTATUS in main.cpp.
This commit is contained in:
parent
8b3ed7b599
commit
05881ffa62
9 changed files with 27 additions and 26 deletions
|
@ -1,8 +1,3 @@
|
|||
#ifdef _WIN32
|
||||
// This is to avoid inclusion of winsock.h from windows.h header which creates conflicts with inclusion of winsock2.h later
|
||||
#define _WINSOCKAPI_
|
||||
#endif
|
||||
|
||||
#include "gui_application.h"
|
||||
|
||||
#include "qt_utils.h"
|
||||
|
@ -46,7 +41,7 @@
|
|||
#include "Emu/RSX/Null/NullGSRender.h"
|
||||
#include "Emu/RSX/GL/GLGSRender.h"
|
||||
|
||||
#if defined(_WIN32) || defined(HAVE_VULKAN)
|
||||
#if defined(HAVE_VULKAN)
|
||||
#include "Emu/RSX/VK/VKGSRender.h"
|
||||
#endif
|
||||
|
||||
|
@ -342,7 +337,7 @@ void gui_application::InitializeCallbacks()
|
|||
g_fxo->init<rsx::thread, named_thread<GLGSRender>>();
|
||||
break;
|
||||
}
|
||||
#if defined(_WIN32) || defined(HAVE_VULKAN)
|
||||
#if defined(HAVE_VULKAN)
|
||||
case video_renderer::vulkan:
|
||||
{
|
||||
g_fxo->init<rsx::thread, named_thread<VKGSRender>>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue