mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Use CONST_VTABLE.
This commit is contained in:
parent
ef77d78a39
commit
627cf50320
Notes:
Alexandre Julliard
2023-10-02 22:33:40 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/377
@ -13,7 +13,7 @@ mkdir build
|
|||||||
cd build
|
cd build
|
||||||
mkdir vulkan-headers
|
mkdir vulkan-headers
|
||||||
cp -r /usr/include/vulkan /usr/include/vk_video /usr/include/spirv vulkan-headers
|
cp -r /usr/include/vulkan /usr/include/vk_video /usr/include/spirv vulkan-headers
|
||||||
../configure --enable-demos --disable-doxygen-doc --without-ncurses --host=$HOST SONAME_LIBVULKAN="vulkan-1.dll" CPPFLAGS="-I$PWD/vulkan-headers" CFLAGS="-g -O2 -Wno-format -Wno-array-bounds -Wno-missing-prototypes -Wno-discarded-qualifiers -Wno-incompatible-pointer-types -Werror" LDFLAGS="-static-libgcc" && \
|
../configure --enable-demos --disable-doxygen-doc --without-ncurses --host=$HOST SONAME_LIBVULKAN="vulkan-1.dll" CPPFLAGS="-I$PWD/vulkan-headers" CFLAGS="-g -O2 -Wno-format -Wno-array-bounds -Wno-missing-prototypes -Wno-incompatible-pointer-types -Werror" LDFLAGS="-static-libgcc" && \
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) && \
|
||||||
make -j$(nproc) install DESTDIR="$PWD/destdir" || \
|
make -j$(nproc) install DESTDIR="$PWD/destdir" || \
|
||||||
touch ../pipeline_failed
|
touch ../pipeline_failed
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
#define INITGUID
|
#define INITGUID
|
||||||
|
#define CONST_VTABLE
|
||||||
#include "vkd3d.h"
|
#include "vkd3d.h"
|
||||||
#include "vkd3d_blob.h"
|
#include "vkd3d_blob.h"
|
||||||
#include "vkd3d_debug.h"
|
#include "vkd3d_debug.h"
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
#define NONAMELESSUNION
|
#define NONAMELESSUNION
|
||||||
#define VK_NO_PROTOTYPES
|
#define VK_NO_PROTOTYPES
|
||||||
|
#define CONST_VTABLE
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# define _WIN32_WINNT 0x0600 /* for condition variables */
|
# define _WIN32_WINNT 0x0600 /* for condition variables */
|
||||||
|
Loading…
Reference in New Issue
Block a user