1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/x11/qrash/files/patch-ai

21 lines
544 B
Plaintext
Raw Normal View History

--- video.cc.orig Sun Dec 26 17:14:12 1999
+++ video.cc Sun Dec 26 17:21:33 1999
@@ -99,7 +99,7 @@
modify [eax ebx ecx edx esi edi];
#else
-#ifdef i386
+#if defined(i386) && !defined(__FreeBSD__)
inline void
comb1( uchar* c1, uchar* b1, uchar* c, uchar* b, int n )
@@ -314,7 +314,7 @@
if( vidStartTime == -1 ) {
vidStartTime = sysTimer();
}
- static time = 0;
+ static int time = 0;
if( sysDebug && vidFrameCount%3 ) {
int frame_time = (sysTimer()-time);
int fps = frame_time ? 3*sysTimerRes / frame_time : 0;