mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-27 05:58:16 +03:00
parent
3f94f884ae
commit
ad41ceefce
@ -330,13 +330,11 @@ $(eval $(call rules-cmake,openxr,64))
|
||||
## Note 32-bit is not supported by SteamVR, so we don't build it.
|
||||
##
|
||||
|
||||
WINEOPENXR_LDFLAGS = -lopenxr_loader -ldxgi -lvulkan -ldl
|
||||
|
||||
WINEOPENXR_LDFLAGS = -lopenxr_loader
|
||||
WINEOPENXR_DEPENDS = wine openxr
|
||||
|
||||
$(eval $(call rules-source,wineopenxr,$(SRCDIR)/wineopenxr))
|
||||
# $(eval $(call rules-winemaker,wineopenxr,32,wineopenxr.dll))
|
||||
$(eval $(call rules-winemaker,wineopenxr,64,wineopenxr.dll))
|
||||
$(eval $(call rules-makedep,wineopenxr,64))
|
||||
|
||||
DIST_WINEOPENXR_JSON64 := $(DIST_PREFIX)/drive_c/openxr/wineopenxr64.json
|
||||
$(WINEOPENXR_SRC)/wineopenxr64.json: wineopenxr
|
||||
|
9
wineopenxr/Makefile.in
Normal file
9
wineopenxr/Makefile.in
Normal file
@ -0,0 +1,9 @@
|
||||
MODULE = wineopenxr.dll
|
||||
IMPORTS = advapi32 dxgi vulkan-1
|
||||
|
||||
EXTRADLLFLAGS = -mcygwin
|
||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
|
||||
C_SRCS = \
|
||||
openxr.c \
|
||||
openxr_thunks.c \
|
@ -43,6 +43,10 @@
|
||||
#define WINE_XR_ALIGN DECLSPEC_ALIGN
|
||||
#endif
|
||||
|
||||
#ifdef __x86_64__
|
||||
#define XR_PTR_SIZE 8
|
||||
#endif
|
||||
|
||||
#define XR_TRUE 1
|
||||
#define XR_FALSE 0
|
||||
#define XR_MAX_EXTENSION_NAME_SIZE 128
|
||||
|
Loading…
x
Reference in New Issue
Block a user