summaryrefslogtreecommitdiff
path: root/benchmarks/xengine/files/patch-aa
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-02-16 13:30:45 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-02-16 13:30:45 +0000
commit5474e1b9dd92681079a50f5fcf19860b16d1d66c (patch)
treef5b61c2c81fbf27d31d4613888163e7241ef12f1 /benchmarks/xengine/files/patch-aa
parentmoved fire key back from 'z' to 'Left-Shift'. (diff)
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 ;-))
Diffstat (limited to 'benchmarks/xengine/files/patch-aa')
-rw-r--r--benchmarks/xengine/files/patch-aa26
1 files changed, 26 insertions, 0 deletions
diff --git a/benchmarks/xengine/files/patch-aa b/benchmarks/xengine/files/patch-aa
new file mode 100644
index 000000000000..78fbbdfb03d8
--- /dev/null
+++ b/benchmarks/xengine/files/patch-aa
@@ -0,0 +1,26 @@
+*** 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)));