mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-28 23:01:04 +00:00
Enabled warning level 4 in Visual Studio for compilation of vk_mem_alloc.h.
This commit is contained in:
parent
b2c2d3bd0b
commit
86ccd63a98
@ -27,8 +27,11 @@
|
||||
#define VK_USE_PLATFORM_WIN32_KHR
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
#pragma warning(push, 4)
|
||||
#pragma warning(disable: 4127) // warning C4127: conditional expression is constant
|
||||
#define VMA_IMPLEMENTATION
|
||||
#include "vk_mem_alloc.h"
|
||||
#pragma warning(pop)
|
||||
|
||||
#define MATHFU_COMPILE_WITHOUT_SIMD_SUPPORT
|
||||
#include <mathfu/glsl_mappings.h>
|
||||
@ -1707,7 +1710,7 @@ int main()
|
||||
RECT rect = { 0, 0, g_SizeX, g_SizeY };
|
||||
AdjustWindowRectEx(&rect, style, FALSE, exStyle);
|
||||
|
||||
HWND hWnd = CreateWindowEx(
|
||||
CreateWindowEx(
|
||||
exStyle, WINDOW_CLASS_NAME, APP_TITLE_W, style,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
NULL, NULL, g_hAppInstance, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user