[PATCH 1/2] winemac: Use CVDisplayLink to limit window redrawing to the display refresh rate.

Huw Davies huw at codeweavers.com
Fri Nov 6 05:24:24 CST 2015

On Fri, Nov 06, 2015 at 11:17:26AM +0000, Huw Davies wrote:
> On Fri, Nov 06, 2015 at 05:11:15AM -0600, Ken Thomases wrote:
> > 
> > Hmm.  Does it work if you add #import <CoreVideo/CoreVideo.h>
> > to the imports at the top of cocoa_window.m or, there are still issues, to cocoa_window.h?
> It's a little less bad ;-/
> gcc -m32 -c -o cocoa_window.o cocoa_window.m -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \
>   -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes \
>   -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
> cocoa_window.m: In function ‘+[WineWindow createWindowWithFeatures:windowFrame:hwnd:queue:]’:
> cocoa_window.m:690: error: request for member ‘autodisplay’ in something not a structure or union

And I guess this explains why:



More information about the wine-devel mailing list