changeset 7533:abc3b12165b7

another dga v1 fix by Fredrik Noring <noring@nocrew.org>
author arpi
date Sat, 28 Sep 2002 18:50:45 +0000
parents 26cd91676fb6
children 0a936b10b3d8
files libvo/vo_dga.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dga.c	Sat Sep 28 18:49:47 2002 +0000
+++ b/libvo/vo_dga.c	Sat Sep 28 18:50:45 2002 +0000
@@ -724,13 +724,13 @@
   int x_off, y_off;
   int wanted_width, wanted_height;
 
+  unsigned char *vo_dga_base;
 #ifdef HAVE_DGA2
   // needed to change DGA video mode
   int modecount, mX=VO_DGA_INVALID_RES, mY=VO_DGA_INVALID_RES , mVBI=100000, mMaxY=0, i,j=0;
   int dga_modenum;
   XDGAMode   *modelines=NULL, *modeline;
   XDGADevice *dgadevice;
-  unsigned char *vo_dga_base;
 #else
 #ifdef HAVE_XF86VM
   unsigned int vm_event, vm_error;