1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/multimedia/fxtv/files/patch-tvscreen.c
Ion-Mihai Tetcu 6881e0a29d Completely disable DGA when -disableDirectV is given on the commandline; This
should fix the port for some newer NVIDIA drivers which are broken w.r.t. DGA.

PR:		ports/98700
Submitted by:	Andre Albsmeier <Andre.Albsmeier@siemens.com>
2006-06-18 11:06:06 +00:00

14 lines
410 B
C

--- tvscreen.c.ORI Sun May 21 15:49:47 2000
+++ tvscreen.c Wed Jun 7 10:19:30 2006
@@ -480,6 +480,9 @@
dga_avail = FALSE;
#ifdef HAVE_XFREE86
+ if ( App_res.disable_direct_v )
+ SUPRINTF(( "Will not init DGA since -disableDirectV was given.\n" ));
+ else
if ( !XUTILXServerIsLocal( TVDISPLAY ) )
SUPRINTF(( "XF86DGA not available...X Server isn't local.\n" ));
else {