summaryrefslogtreecommitdiff
path: root/benchmarks/xengine/patches/patch-aa
blob: d13bdc4407200dad5a109a4220268f6ff9bc0e26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-aa,v 1.2 2000/04/03 15:55:23 sakamoto Exp $

*** 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)));