mirror of https://github.com/mpv-player/mpv
Set sensible write frequency/priority values for AllocateMemoryMESA
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29723 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f78f32c864
commit
a531e51297
|
@ -785,7 +785,7 @@ static uint32_t get_image(mp_image_t *mpi) {
|
|||
mesa_bufferptr = NULL;
|
||||
}
|
||||
if (!mesa_bufferptr)
|
||||
mesa_bufferptr = AllocateMemoryMESA(mDisplay, mScreen, needed_size, 0, 0, 0);
|
||||
mesa_bufferptr = AllocateMemoryMESA(mDisplay, mScreen, needed_size, 0, 1.0, 1.0);
|
||||
mesa_buffersize = needed_size;
|
||||
#endif
|
||||
mpi->planes[0] = mesa_bufferptr;
|
||||
|
|
Loading…
Reference in New Issue