aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-28 14:54:19 +0000
committerGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-28 14:54:19 +0000
commitf2fcef603cf1d61033d4262e3b9a7a5591605f44 (patch)
tree09672bac6e749a5a5e7242d0b40c190b4f6c2963
parent05e09adb9f5d060381c411a25e55a237b2d878ee (diff)
10l & warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10496 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/vo_dga.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c
index bde3180804..098149f330 100644
--- a/libvo/vo_dga.c
+++ b/libvo/vo_dga.c
@@ -80,7 +80,7 @@ static struct vd_modes vo_dga_modes[] = {
// so the last two values describe, which HW mode to use and which conversion
// function to use for a mode that is not supported by HW
- { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ { 0, 0, 0, 0, 0, 0, 0, 0, 0, },
{ 15, 0, 15, 16, 2, 0x7c00, 0x03e0, 0x001f, 2, },
{ 16, 0, 16, 16, 2, 0xf800, 0x07e0, 0x001f, 2, },
{ 24, 0, 24, 24, 3, 0xff0000, 0x00ff00, 0x0000ff, 4},
@@ -165,7 +165,7 @@ static char *vd_GetModeString(int index){
//-----------------------------------------------------------------
-#ifdef HAVE_XF86VM
+#if defined(HAVE_XF86VM) && !defined(HAVE_DGA2)
static XF86VidModeModeInfo **vo_dga_vidmodes=NULL;
#endif
@@ -250,7 +250,7 @@ static void draw_alpha( int x0,int y0, int w,int h, unsigned char* src, unsigned
// quick & dirty - for debugging only
-
+#if 0
static void fillblock(char *strt, int yoff, int lines, int val){
char *i;
for(i = strt + yoff * vo_dga_width *HW_MODE.vdm_bytespp;
@@ -258,7 +258,7 @@ static void fillblock(char *strt, int yoff, int lines, int val){
*i++ = val;
}
}
-
+#endif
//---------------------------------------------------------