1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/benchmarks/xengine/files/patch-aa
Andreas Klemm 5474e1b9dd new xengine port. Closes PR 2249.
It displays a part of a motor. The faster your X server is, the more
rpm you get ;-) Guess how many rpm's I got, when I started with X11
years ago .... 32 rpm with an ET4000 VGA card on a 386 4MB running
Interactive Unix ;-))
1997-02-16 13:30:45 +00:00

27 lines
818 B
Plaintext

*** xengine.c~ Wed Oct 3 10:58:17 1990
--- xengine.c Sun Dec 8 22:17:43 1996
***************
*** 180,191 ****
Arg args[10];
! XtSetArg(args[0], XtNwidth, 0);
! XtSetArg(args[1], XtNheight, 0);
XtGetValues(w, args, 2);
-
- width = args[0].value;
- height = args[1].value;
XFreePixmap(XtDisplay(engine), enginePixmap);
enginePixmap = XCreatePixmap(XtDisplay(engine), XtWindow(engine), width, height, DefaultDepthOfScreen(XtScreen(engine)));
--- 180,188 ----
Arg args[10];
! XtSetArg(args[0], XtNwidth, &width);
! XtSetArg(args[1], XtNheight, &height);
XtGetValues(w, args, 2);
XFreePixmap(XtDisplay(engine), enginePixmap);
enginePixmap = XCreatePixmap(XtDisplay(engine), XtWindow(engine), width, height, DefaultDepthOfScreen(XtScreen(engine)));