winemac: Unconditionally link to QuartzCore.
This fixes non-Metal builds. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52216 Signed-off-by: Keno Fischer <keno@juliacomputing.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
60faf44ed1
commit
1f17015cea
|
@ -10322,7 +10322,7 @@ fi
|
|||
fi
|
||||
if test "$ac_cv_header_Metal_Metal_h" = "yes"
|
||||
then
|
||||
METAL_LIBS="-framework Metal -framework QuartzCore"
|
||||
METAL_LIBS="-framework Metal"
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
@ -757,7 +757,7 @@ case $host_os in
|
|||
fi
|
||||
if test "$ac_cv_header_Metal_Metal_h" = "yes"
|
||||
then
|
||||
AC_SUBST(METAL_LIBS,"-framework Metal -framework QuartzCore")
|
||||
AC_SUBST(METAL_LIBS,"-framework Metal")
|
||||
fi
|
||||
|
||||
dnl Check for MTLDevice registryID property
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
MODULE = winemac.drv
|
||||
IMPORTS = uuid rpcrt4 user32 gdi32 advapi32 win32u
|
||||
DELAYIMPORTS = ole32 shell32 imm32
|
||||
EXTRALIBS = -framework AppKit -framework Carbon -framework Security -framework OpenGL -framework IOKit -framework CoreVideo $(METAL_LIBS)
|
||||
EXTRALIBS = -framework AppKit -framework Carbon -framework Security -framework OpenGL -framework IOKit -framework CoreVideo -framework QuartzCore $(METAL_LIBS)
|
||||
|
||||
EXTRADLLFLAGS = -mcygwin
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#import <CoreVideo/CoreVideo.h>
|
||||
#ifdef HAVE_METAL_METAL_H
|
||||
#import <Metal/Metal.h>
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#endif
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
#import "cocoa_window.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue