[MPlayer-dev-eng] Re: Another compile bug in libvo/vo_dga.c

Fredrik Noring noring at nocrew.org
Mon Oct 7 12:58:36 CEST 2002


mån 2002-10-07 klockan 12.19 skrev Ross Finlayson:
> In my configuration, HAVE_DGA2 is *not* defined.

I'm sorry. Please try the following patch. (There are way too
many ifdef's in this file.)

	Fredrik



Index: libvo/vo_dga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dga.c,v
retrieving revision 1.53
diff -u -r1.53 vo_dga.c
--- libvo/vo_dga.c	1 Oct 2002 21:47:32 -0000	1.53
+++ libvo/vo_dga.c	7 Oct 2002 11:22:35 -0000
@@ -428,7 +428,7 @@
 #else
 		XF86DGASetViewPort(vo_dga_dpy, XDefaultScreen(vo_dga_dpy),
 				   0,
-				   VIDEO_BUFFER_DISPLAY.y);
+				   CURRENT_VIDEO_BUFFER.y);
 #endif
 		switch_video_buffers();
 	}




More information about the MPlayer-dev-eng mailing list