comparison libvo/vo_dga.c @ 7533:abc3b12165b7

another dga v1 fix by Fredrik Noring <noring@nocrew.org>
author arpi
date Sat, 28 Sep 2002 18:50:45 +0000
parents 72dd0b05d562
children 56ea9db91251
comparison
equal deleted inserted replaced
7532:26cd91676fb6 7533:abc3b12165b7
722 { 722 {
723 723
724 int x_off, y_off; 724 int x_off, y_off;
725 int wanted_width, wanted_height; 725 int wanted_width, wanted_height;
726 726
727 unsigned char *vo_dga_base;
727 #ifdef HAVE_DGA2 728 #ifdef HAVE_DGA2
728 // needed to change DGA video mode 729 // needed to change DGA video mode
729 int modecount, mX=VO_DGA_INVALID_RES, mY=VO_DGA_INVALID_RES , mVBI=100000, mMaxY=0, i,j=0; 730 int modecount, mX=VO_DGA_INVALID_RES, mY=VO_DGA_INVALID_RES , mVBI=100000, mMaxY=0, i,j=0;
730 int dga_modenum; 731 int dga_modenum;
731 XDGAMode *modelines=NULL, *modeline; 732 XDGAMode *modelines=NULL, *modeline;
732 XDGADevice *dgadevice; 733 XDGADevice *dgadevice;
733 unsigned char *vo_dga_base;
734 #else 734 #else
735 #ifdef HAVE_XF86VM 735 #ifdef HAVE_XF86VM
736 unsigned int vm_event, vm_error; 736 unsigned int vm_event, vm_error;
737 unsigned int vm_ver, vm_rev; 737 unsigned int vm_ver, vm_rev;
738 int i, j=0, have_vm=0; 738 int i, j=0, have_vm=0;