1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11/qrash/files/patch-ap
Steve Price a08d0fc53f Adding qrash version 1.0
An animated musical demo for X11.

PR:		14554
Submitted by:	Trevor Johnson <trevor@jpj.net>
1999-12-27 02:24:30 +00:00

21 lines
546 B
Plaintext

--- begin.cc.orig Sun Dec 26 17:27:30 1999
+++ begin.cc Sun Dec 26 17:27:56 1999
@@ -27,7 +27,7 @@
#include "parts.h"
#include "common.h"
-const ANGLE_TIME = 4*sysTimerRes,
+const int ANGLE_TIME = 4*sysTimerRes,
ALIGN_TIME = 2*sysTimerRes,
PAL_TIME = 5*sysTimerRes,
FLASH_TIME = 0.5*sysTimerRes;
@@ -147,7 +147,7 @@
}
// SmoothPage(bw,bw);
- static offset=0;
+ static int offset=0;
back->MapToPage2( u[0], v[0], u[1], v[1], u[2], v[2], u[3], v[3],
color+offset );
offset = 1-offset;