mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 21:12:23 +00:00
another dga v1 fix by Fredrik Noring <noring@nocrew.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7534 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d9e1ce4348
commit
baefead944
@ -724,13 +724,13 @@ static uint32_t config( uint32_t width, uint32_t height,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user